#862F7D#862F7D
#862F7D is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.1% C 0.152 H 332.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #862F7D |
|---|---|
| RGB | rgb(134, 47, 125) |
| HSL | hsl(306, 48%, 35%) |
| HSV | hsv(306, 65%, 53%) |
| CMYK | cmyk(0%, 64.9%, 6.7%, 47.5%) |
| CIE-LAB | lab(35.17, 46.91, -26.01) |
| CIE-LCH | lch(35.17, 53.64, 330.99°) |
| OKLab | oklab(46.09% 0.1343 -0.0713) |
| OKLCH | oklch(46.09% 0.152 332.1) |
| XYZ | xyz(14.5497, 8.5831, 20.2884) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.81
Light Eggplant
#894585
ΔE00 5.04
Darkish Purple
#751973
ΔE00 5.39
Bruise
#7E4071
ΔE00 5.52
Darkmagenta
#8B008B
ΔE00 5.74
Purple
#800080
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862F7D #2F8638
analogous
#632F86 #862F7D #862F51
triadic
#862F7D #7D862F #2F7D86
tetradic
#862F7D #86632F #2F8638 #2F5186
square
#862F7D #86632F #2F8638 #2F5186
split-complementary
#862F7D #51862F #2F8663
monochromatic
#2B0F28 #591F53 #862F7D #B33FA7 #C966BF
Accessibility & contrast
On white
7.73
#862F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#862F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862F7D
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862F7D | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#48577B
Tritanopia (blue-blind)
#8C3751
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #862f7d; /* rgb */ color: rgb(134, 47, 125); /* oklch */ color: oklch(46.1% 0.152 332.1);
Tailwind
colors: {
custom: {
50: '#ac6ea3',
500: '#862f7d',
950: '#000000',
},
}SCSS
$custom: #862f7d; $custom-light: #ac6ea3; $custom-dark: #000000;
JSON
{
"hex": "#862f7d",
"rgb": {
"r": 134,
"g": 47,
"b": 125
},
"hsl": {
"h": 306.207,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.46089,
"c": 0.15207,
"h": 332.1
},
"luminance": 0.08582
}Semantic roles & 50–950 ramp
primary
#862F7D
secondary
#60B069
accent
#D85E50
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#10080F
muted
#7F7B7F