Color contrast answer

Does #7e22ce work on #ffffff?

#7e22ce text on a #ffffff background has a contrast ratio of 6.98:1, so it passes WCAG AA for normal text.

Sample text

Readable UI preview

Reversed pair

Check both directions in Blobb.

Open this page with JavaScript enabled to edit the colors, tune the pair, and compare it against a full palette.