Color contrast answer
Does #ffffff work on #6d28d9?
#ffffff text on a #6d28d9 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.