Black Box on Neon Boneyard
#0f282f on #dfc5fe
Body text at this size
And the smaller size most interfaces actually use for paragraphs — the size that decides whether a pair is usable.
Caption text, which almost nothing passes.
WCAG 2.1
9.93:1
Passes AA for body text
AAA too. Swapping the two colours gives the same number — the ratio does not know which is the text.
APCA
Lc 74.7
Clears Lc 60 — headlines and other larger text.
Dark text on a lighter ground.
Colour difference
ΔE00 71.5
different colours
Above 10 — related only in the sense that both are colours.
Nothing to fix
This pair already clears 4.5:1, so #0f282f can stay exactly as it is. Check another pair.
And to someone missing a cone
protanopia
Ratio 9.40:1, ΔE00 67.4.
deuteranopia
Ratio 10.22:1, ΔE00 70.0.
tritanopia
Ratio 10.07:1, ΔE00 78.1.
The weakest of the three is protanopia, where the two are ΔE00 67.4 apart against 71.5 for a trichromat — still clearly two colours.
Both colours have pages of their own: Black Box ·Neon Boneyard · the same pair the other way round ·all pairs