#DDD6FF on #FFFFFF: 1.38:1
#DDD6FF on #FFFFFF: contrast ratio 1.38:1 and APCA Lc 19. WCAG 2.2 AA and AAA results for normal text, large text and UI, plus the nearest accessible text or background color via OKLCH lightness.
Preview
Large heading sample
The quick brown fox jumps over the lazy dog
#DDD6FF on #FFFFFF
WCAG 2.2 contrast ratio: 1.38:1
WCAG 2.2 uses the same contrast formula as 2.1. Ratios are floored to two decimals, never rounded up.
| Text type | AA | AAA |
|---|---|---|
| Normal text | ✗ Fail | ✗ Fail |
| Large text (24px+, or 18.66px+ bold) | ✗ Fail | ✗ Fail |
| UI components and graphics | ✗ Fail | n/a |
APCA lightness contrast: Lc 19
Lc 19. Body text needs about Lc 75+, large text and UI about Lc 45+. Positive means dark text on a light background, negative means light text on dark.
Fixes via OKLCH lightness
The fix keeps hue and chroma and moves only OKLCH lightness to the nearest step that reaches the target for normal text, so it still looks like the same color. It is the same logic as the Fix button in the studio.
Fix the text color
- #6E678B on #FFFFFF →
AA: #6E678B → 5.28:1
oklch(0.535 0.056 293.1) · ΔL −0.36
- #585173 on #FFFFFF →
AAA: #585173 → 7.39:1
oklch(0.455 0.056 293.1) · ΔL −0.44
Fix the background
- #DDD6FF on #5D5D5D →
AA: #5D5D5D → 4.74:1
oklch(0.480 0.000 0.0) · ΔL −0.52
- #DDD6FF on #3D3D3D →
AAA: #3D3D3D → 7.82:1
oklch(0.360 0.000 0.0) · ΔL −0.64
#DDD6FF = oklch(0.895 0.056 293.1) · #FFFFFF = oklch(1.000 0.000 0.0)
Open this pair in the Contrast tool
Guides: WCAG 2.2 vs APCA · How to fix colour contrast