#862B77#862B77
#862B77 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.3% C 0.153 H 335.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #862B77 |
|---|---|
| RGB | rgb(134, 43, 119) |
| HSL | hsl(310, 51%, 35%) |
| HSV | hsv(310, 68%, 53%) |
| CMYK | cmyk(0%, 67.9%, 11.2%, 47.5%) |
| CIE-LAB | lab(34.25, 47.62, -23.69) |
| CIE-LCH | lch(34.25, 53.19, 333.55°) |
| OKLab | oklab(45.32% 0.1386 -0.0646) |
| OKLCH | oklch(45.32% 0.153 335) |
| XYZ | xyz(14.0253, 8.1292, 18.2796) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.80
Darkish Purple
#751973
ΔE00 5.13
Bruise
#7E4071
ΔE00 5.46
Light Eggplant
#894585
ΔE00 5.91
Darkmagenta
#8B008B
ΔE00 6.06
Purple
#800080
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862B77 #2B863A
analogous
#682B86 #862B77 #862B4A
triadic
#862B77 #77862B #2B7786
tetradic
#862B77 #86682B #2B863A #2B4A86
square
#862B77 #86682B #2B863A #2B4A86
split-complementary
#862B77 #4A862B #2B8668
monochromatic
#290D25 #581C4E #862B77 #B43AA0 #CC60BA
Accessibility & contrast
On white
8.00
#862B77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#862B77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862B77
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862B77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862B77 | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#495575
Tritanopia (blue-blind)
#8D314D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #862b77; /* rgb */ color: rgb(134, 43, 119); /* oklch */ color: oklch(45.3% 0.153 335.0);
Tailwind
colors: {
custom: {
50: '#ac6c9e',
500: '#862b77',
950: '#000000',
},
}SCSS
$custom: #862b77; $custom-light: #ac6c9e; $custom-dark: #000000;
JSON
{
"hex": "#862b77",
"rgb": {
"r": 134,
"g": 43,
"b": 119
},
"hsl": {
"h": 309.89,
"s": 51.412,
"l": 34.706
},
"oklch": {
"l": 0.45323,
"c": 0.15292,
"h": 335
},
"luminance": 0.08128
}Semantic roles & 50–950 ramp
primary
#862B77
secondary
#5BB269
accent
#DB644D
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E