Color contrast answer

Does #a21caf work on #000000?

#a21caf text on a #000000 background has a contrast ratio of 3.32:1, so it passes WCAG AA for large text and UI graphics, but fails 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.