Color contrast answer
Does #7c3aed work on #000000?
#7c3aed text on a #000000 background has a contrast ratio of 3.69:1, so it passes WCAG AA for large text and UI graphics, but fails normal text.
Open this page with JavaScript enabled to edit the colors, tune the pair, and compare it against a full palette.