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