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 · #836DC5
- sRGB
- rgb(131 109 197)
- OKLCh
- 0.594 0.132 293.5
- OKLab
- 0.594 0.053 -0.121
- CIELAB
- 51.15 24.09 -43.50 (D50)
User-specified sRGB value · no record, no historical attribution.
B · #9370DB
- sRGB
- rgb(147 112 219)
- OKLCh
- 0.627 0.158 296.7
- OKLab
- 0.627 0.071 -0.141
- CIELAB
- 54.45 31.71 -50.62 (D50)
From record mediumpurple css-mediumpurple-srgb · CSS named colourspublished value · recorded as srgb 0.5765, 0.4392, 0.8588 · Normative sRGB value #9370db (147 112 219) 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, mediumpurple #9370db
Difference
| CIEDE2000 ΔE₀₀ | 4.34 | CIELAB, D50 (Bradford adaptation from sRGB’s D65), kL = kC = kH = 1 |
|---|---|---|
| OKLab ΔE (Euclidean) | 0.0426 | OKLab, D65, L on a 0–1 scale; the distance the Dictionary and map use |
| OKLCh by axis | ΔL +0.033 · ΔC +0.026 · Δh 3.2° | 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.13: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.