Compare two colours
Both values, two named difference metrics with their conditions, and the WCAG contrast between them. A difference is a number under stated conditions, not a judgement.
A · #800080
- sRGB
- rgb(128 0 128)
- OKLCh
- 0.421 0.193 328.4
- OKLab
- 0.421 0.165 -0.101
- CIELAB
- 29.69 56.11 -36.29 (D50)
User-specified sRGB value · no record, no historical attribution.
B · #663399
- sRGB
- rgb(102 51 153)
- OKLCh
- 0.440 0.160 303.4
- OKLab
- 0.440 0.088 -0.134
- CIELAB
- 32.39 38.42 -47.69 (D50)
From record rebeccapurple css-rebeccapurple-srgb · CSS named colourspublished value · recorded as srgb 0.4, 0.2, 0.6 · Normative sRGB value #663399 (102 51 153) from the specification, divided by 255.UnreviewedW3C CSS Working Group, CSS Color Module Level 4 (2026-10-29), § 6.1 Named Colors, named-color table, rebeccapurple #663399
Difference
| CIEDE2000 ΔE₀₀ | 10.90 | CIELAB, D50 (Bradford adaptation from sRGB’s D65), kL = kC = kH = 1 |
|---|---|---|
| OKLab ΔE (Euclidean) | 0.0853 | OKLab, D65, L on a 0–1 scale; the distance the Dictionary and map use |
| OKLCh by axis | ΔL +0.019 · ΔC -0.033 · Δh 25.0° | B minus A; hue as the smaller arc. Viewing conditions: sRGB as displayed, D65, 2° observer assumed by the conversions. |
No threshold of perceptibility is claimed for either metric: how visible a difference is depends on size, surround, adaptation and the display.
Contrast 1.12:1
- normal text, AA (SC 1.4.3) · at least 4.5:1fails
- normal text, AAA (SC 1.4.6) · at least 7:1fails
- large text, AA (SC 1.4.3) · at least 3:1fails
- large text, AAA (SC 1.4.6) · at least 4.5:1fails
- interface parts and graphics, AA (SC 1.4.11) · at least 3:1fails
WCAG 2.1 ratio between the two sRGB values as displayed; the same in either direction.