Color contrast answer
Does #ffffff work on #818cf8?
#ffffff text on a #818cf8 background has a contrast ratio of 2.98:1, so it fails common WCAG contrast thresholds for text.
Open this page with JavaScript enabled to edit the colors, tune the pair, and compare it against a full palette.