#812876#812876
#812876 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.153 H 333.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #812876 |
|---|---|
| RGB | rgb(129, 40, 118) |
| HSL | hsl(307, 53%, 33%) |
| HSV | hsv(307, 69%, 51%) |
| CMYK | cmyk(0%, 69%, 8.5%, 49.4%) |
| CIE-LAB | lab(32.91, 47.36, -25.23) |
| CIE-LCH | lch(32.91, 53.66, 331.95°) |
| OKLab | oklab(44.16% 0.1366 -0.0691) |
| OKLCH | oklch(44.16% 0.153 333.2) |
| XYZ | xyz(13.0821, 7.4938, 17.8935) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.85
Purple
#800080
ΔE00 5.17
Warm Purple
#952E8F
ΔE00 5.37
Darkmagenta
#8B008B
ΔE00 5.49
Bruise
#7E4071
ΔE00 6.10
Grape
#6C3461
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812876 #288133
analogous
#5F2881 #812876 #812849
triadic
#812876 #768128 #287681
tetradic
#812876 #815F28 #288133 #284981
square
#812876 #815F28 #288133 #284981
split-complementary
#812876 #498128 #28815F
monochromatic
#240B21 #521A4B #812876 #B036A1 #CB58BD
Accessibility & contrast
On white
8.40
#812876 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#812876 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812876
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812876 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812876 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254578
Deuteranopia (green-blind)
#445274
Tritanopia (blue-blind)
#87304B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #812876; /* rgb */ color: rgb(129, 40, 118); /* oklch */ color: oklch(44.2% 0.153 333.2);
Tailwind
colors: {
custom: {
50: '#a86a9e',
500: '#812876',
950: '#000000',
},
}SCSS
$custom: #812876; $custom-light: #a86a9e; $custom-dark: #000000;
JSON
{
"hex": "#812876",
"rgb": {
"r": 129,
"g": 40,
"b": 118
},
"hsl": {
"h": 307.416,
"s": 52.663,
"l": 33.137
},
"oklch": {
"l": 0.44164,
"c": 0.15305,
"h": 333.2
},
"luminance": 0.07493
}Semantic roles & 50–950 ramp
primary
#812876
secondary
#54B060
accent
#DC5E4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E