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