#862E75#862E75
#862E75 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.147 H 336.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #862E75 |
|---|---|
| RGB | rgb(134, 46, 117) |
| HSL | hsl(312, 49%, 35%) |
| HSV | hsv(312, 66%, 53%) |
| CMYK | cmyk(0%, 65.7%, 12.7%, 47.5%) |
| CIE-LAB | lab(34.62, 46.01, -21.87) |
| CIE-LCH | lch(34.62, 50.94, 334.58°) |
| OKLab | oklab(45.56% 0.1345 -0.0594) |
| OKLCH | oklch(45.56% 0.147 336.2) |
| XYZ | xyz(14.0196, 8.3078, 17.6914) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.73
Warm Purple
#952E8F
ΔE00 5.19
Light Eggplant
#894585
ΔE00 5.57
Darkish Purple
#751973
ΔE00 5.79
Grape
#6C3461
ΔE00 6.26
Red Violet
#9E0168
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862E75 #2E863F
analogous
#6B2E86 #862E75 #862E49
triadic
#862E75 #75862E #2E7586
tetradic
#862E75 #866B2E #2E863F #2E4986
square
#862E75 #866B2E #2E863F #2E4986
split-complementary
#862E75 #49862E #2E866B
monochromatic
#2B0F25 #581E4D #862E75 #B43E9D #CA64B6
Accessibility & contrast
On white
7.89
#862E75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#862E75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862E75
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862E75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862E75 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4977
Deuteranopia (green-blind)
#4B5673
Tritanopia (blue-blind)
#8D334D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #862e75; /* rgb */ color: rgb(134, 46, 117); /* oklch */ color: oklch(45.6% 0.147 336.2);
Tailwind
colors: {
custom: {
50: '#ac6d9d',
500: '#862e75',
950: '#000000',
},
}SCSS
$custom: #862e75; $custom-light: #ac6d9d; $custom-dark: #000000;
JSON
{
"hex": "#862e75",
"rgb": {
"r": 134,
"g": 46,
"b": 117
},
"hsl": {
"h": 311.591,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.45557,
"c": 0.14706,
"h": 336.2
},
"luminance": 0.08307
}Semantic roles & 50–950 ramp
primary
#862E75
secondary
#5FB16F
accent
#D86A4F
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E