#862E77#862E77
#862E77 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.7% C 0.149 H 335.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #862E77 |
|---|---|
| RGB | rgb(134, 46, 119) |
| HSL | hsl(310, 49%, 35%) |
| HSV | hsv(310, 66%, 53%) |
| CMYK | cmyk(0%, 65.7%, 11.2%, 47.5%) |
| CIE-LAB | lab(34.71, 46.34, -22.97) |
| CIE-LCH | lch(34.71, 51.72, 333.63°) |
| OKLab | oklab(45.66% 0.1348 -0.0626) |
| OKLCH | oklch(45.66% 0.149 335.1) |
| XYZ | xyz(14.1384, 8.3554, 18.3173) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.81
Bruise
#7E4071
ΔE00 4.92
Light Eggplant
#894585
ΔE00 5.42
Darkish Purple
#751973
ΔE00 5.59
Grape
#6C3461
ΔE00 6.48
Darkmagenta
#8B008B
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862E77 #2E863D
analogous
#692E86 #862E77 #862E4B
triadic
#862E77 #77862E #2E7786
tetradic
#862E77 #86692E #2E863D #2E4B86
square
#862E77 #86692E #2E863D #2E4B86
split-complementary
#862E77 #4B862E #2E8669
monochromatic
#2B0F26 #581E4F #862E77 #B43E9F #CA64B9
Accessibility & contrast
On white
7.86
#862E77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#862E77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862E77
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862E77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862E77 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4979
Deuteranopia (green-blind)
#4A5675
Tritanopia (blue-blind)
#8C344E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #862e77; /* rgb */ color: rgb(134, 46, 119); /* oklch */ color: oklch(45.7% 0.149 335.1);
Tailwind
colors: {
custom: {
50: '#ac6d9e',
500: '#862e77',
950: '#000000',
},
}SCSS
$custom: #862e77; $custom-light: #ac6d9e; $custom-dark: #000000;
JSON
{
"hex": "#862e77",
"rgb": {
"r": 134,
"g": 46,
"b": 119
},
"hsl": {
"h": 310.227,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.45659,
"c": 0.14864,
"h": 335.1
},
"luminance": 0.08354
}Semantic roles & 50–950 ramp
primary
#862E77
secondary
#5FB16D
accent
#D8674F
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E