Color contrast answer
Does #5e5aa3 work on #ffffff?
#5e5aa3 text on a #ffffff background has a contrast ratio of 6.06: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.