#862E7D#862E7D
#862E7D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.0% C 0.154 H 332.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #862E7D |
|---|---|
| RGB | rgb(134, 46, 125) |
| HSL | hsl(306, 49%, 35%) |
| HSV | hsv(306, 66%, 53%) |
| CMYK | cmyk(0%, 65.7%, 6.7%, 47.5%) |
| CIE-LAB | lab(35.01, 47.35, -26.26) |
| CIE-LCH | lch(35.01, 54.14, 330.99°) |
| OKLab | oklab(45.97% 0.1356 -0.072) |
| OKLCH | oklch(45.97% 0.154 332) |
| XYZ | xyz(14.5102, 8.5041, 20.2753) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.81
Light Eggplant
#894585
ΔE00 5.22
Darkish Purple
#751973
ΔE00 5.24
Darkmagenta
#8B008B
ΔE00 5.57
Bruise
#7E4071
ΔE00 5.68
Purple
#800080
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862E7D #2E8637
analogous
#632E86 #862E7D #862E51
triadic
#862E7D #7D862E #2E7D86
tetradic
#862E7D #86632E #2E8637 #2E5186
square
#862E7D #86632E #2E8637 #2E5186
split-complementary
#862E7D #51862E #2E8663
monochromatic
#2B0F28 #581E52 #862E7D #B43EA8 #CA64C0
Accessibility & contrast
On white
7.78
#862E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#862E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862E7D
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862E7D | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4A7F
Deuteranopia (green-blind)
#48577B
Tritanopia (blue-blind)
#8C3651
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #862e7d; /* rgb */ color: rgb(134, 46, 125); /* oklch */ color: oklch(46.0% 0.154 332.0);
Tailwind
colors: {
custom: {
50: '#ac6ea3',
500: '#862e7d',
950: '#000000',
},
}SCSS
$custom: #862e7d; $custom-light: #ac6ea3; $custom-dark: #000000;
JSON
{
"hex": "#862e7d",
"rgb": {
"r": 134,
"g": 46,
"b": 125
},
"hsl": {
"h": 306.136,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.45974,
"c": 0.15352,
"h": 332
},
"luminance": 0.08503
}Semantic roles & 50–950 ramp
primary
#862E7D
secondary
#5FB167
accent
#D85D4F
background
#FAF6FA
surface
#F5ECF3
border
#CFC7CD
text
#10070F
muted
#7F7A7F