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