#862C97#862C97
#862C97 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.179 H 320.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #862C97 |
|---|---|
| RGB | rgb(134, 44, 151) |
| HSL | hsl(290, 55%, 38%) |
| HSV | hsv(290, 71%, 59%) |
| CMYK | cmyk(11.3%, 70.9%, 0%, 40.8%) |
| CIE-LAB | lab(36.19, 52.95, -40.41) |
| CIE-LCH | lch(36.19, 66.61, 322.65°) |
| OKLab | oklab(47.3% 0.1388 -0.113) |
| OKLCH | oklch(47.3% 0.179 320.8) |
| XYZ | xyz(16.3175, 9.1049, 30.1701) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.31
Warm Purple
#952E8F
ΔE00 4.25
Darkmagenta
#8B008B
ΔE00 4.55
Barney Purple
#A00498
ΔE00 5.07
Purple
#800080
ΔE00 6.00
Purply
#983FB2
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862C97 #3D972C
analogous
#502C97 #862C97 #972C72
triadic
#862C97 #97862C #2C9786
tetradic
#862C97 #97502C #3D972C #2C7297
square
#862C97 #97502C #3D972C #2C7297
split-complementary
#862C97 #72972C #2C9750
monochromatic
#321038 #5C1E68 #862C97 #B03AC6 #C36AD4
Accessibility & contrast
On white
7.44
#862C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#862C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862C97
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862C97 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#375894
Tritanopia (blue-blind)
#873F5E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #862c97; /* rgb */ color: rgb(134, 44, 151); /* oklch */ color: oklch(47.3% 0.179 320.8);
Tailwind
colors: {
custom: {
50: '#ad6db6',
500: '#862c97',
950: '#000000',
},
}SCSS
$custom: #862c97; $custom-light: #ad6db6; $custom-dark: #000000;
JSON
{
"hex": "#862c97",
"rgb": {
"r": 134,
"g": 44,
"b": 151
},
"hsl": {
"h": 290.467,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.47297,
"c": 0.17895,
"h": 320.8
},
"luminance": 0.09104
}Semantic roles & 50–950 ramp
primary
#862C97
secondary
#72BA65
accent
#DE4A61
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80