#862E76#862E76
#862E76 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.148 H 335.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #862E76 |
|---|---|
| RGB | rgb(134, 46, 118) |
| HSL | hsl(311, 49%, 35%) |
| HSV | hsv(311, 66%, 53%) |
| CMYK | cmyk(0%, 65.7%, 11.9%, 47.5%) |
| CIE-LAB | lab(34.66, 46.17, -22.42) |
| CIE-LCH | lch(34.66, 51.33, 334.10°) |
| OKLab | oklab(45.61% 0.1347 -0.061) |
| OKLCH | oklch(45.61% 0.148 335.6) |
| XYZ | xyz(14.0787, 8.3315, 18.0027) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.82
Warm Purple
#952E8F
ΔE00 5.00
Light Eggplant
#894585
ΔE00 5.49
Darkish Purple
#751973
ΔE00 5.68
Grape
#6C3461
ΔE00 6.37
Darkmagenta
#8B008B
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862E76 #2E863E
analogous
#6A2E86 #862E76 #862E4A
triadic
#862E76 #76862E #2E7686
tetradic
#862E76 #866A2E #2E863E #2E4A86
square
#862E76 #866A2E #2E863E #2E4A86
split-complementary
#862E76 #4A862E #2E866A
monochromatic
#2B0F26 #581E4E #862E76 #B43E9E #CA64B7
Accessibility & contrast
On white
7.88
#862E76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#862E76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862E76
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862E76 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4978
Deuteranopia (green-blind)
#4B5674
Tritanopia (blue-blind)
#8D334D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #862e76; /* rgb */ color: rgb(134, 46, 118); /* oklch */ color: oklch(45.6% 0.148 335.6);
Tailwind
colors: {
custom: {
50: '#ac6d9d',
500: '#862e76',
950: '#000000',
},
}SCSS
$custom: #862e76; $custom-light: #ac6d9d; $custom-dark: #000000;
JSON
{
"hex": "#862e76",
"rgb": {
"r": 134,
"g": 46,
"b": 118
},
"hsl": {
"h": 310.909,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.45608,
"c": 0.14784,
"h": 335.6
},
"luminance": 0.0833
}Semantic roles & 50–950 ramp
primary
#862E76
secondary
#5FB16E
accent
#D8684F
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E