Color contrast answer
Does #a855f7 work on #000000?
#a855f7 text on a #000000 background has a contrast ratio of 5.31: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.