#862F76#862F76
#862F76 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.7% C 0.146 H 335.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #862F76 |
|---|---|
| RGB | rgb(134, 47, 118) |
| HSL | hsl(311, 48%, 35%) |
| HSV | hsv(311, 65%, 53%) |
| CMYK | cmyk(0%, 64.9%, 11.9%, 47.5%) |
| CIE-LAB | lab(34.82, 45.73, -22.17) |
| CIE-LCH | lch(34.82, 50.82, 334.14°) |
| OKLab | oklab(45.73% 0.1334 -0.0603) |
| OKLCH | oklch(45.73% 0.146 335.7) |
| XYZ | xyz(14.1182, 8.4105, 18.0158) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.64
Warm Purple
#952E8F
ΔE00 5.02
Light Eggplant
#894585
ΔE00 5.33
Darkish Purple
#751973
ΔE00 5.85
Grape
#6C3461
ΔE00 6.31
Darkmagenta
#8B008B
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862F76 #2F863F
analogous
#6A2F86 #862F76 #862F4B
triadic
#862F76 #76862F #2F7686
tetradic
#862F76 #866A2F #2F863F #2F4B86
square
#862F76 #866A2F #2F863F #2F4B86
split-complementary
#862F76 #4B862F #2F866A
monochromatic
#2B0F26 #591F4E #862F76 #B33F9E #C966B7
Accessibility & contrast
On white
7.83
#862F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#862F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862F76
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862F76 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304A78
Deuteranopia (green-blind)
#4B5774
Tritanopia (blue-blind)
#8D344E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #862f76; /* rgb */ color: rgb(134, 47, 118); /* oklch */ color: oklch(45.7% 0.146 335.7);
Tailwind
colors: {
custom: {
50: '#ac6e9d',
500: '#862f76',
950: '#000000',
},
}SCSS
$custom: #862f76; $custom-light: #ac6e9d; $custom-dark: #000000;
JSON
{
"hex": "#862f76",
"rgb": {
"r": 134,
"g": 47,
"b": 118
},
"hsl": {
"h": 311.034,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.45725,
"c": 0.14637,
"h": 335.7
},
"luminance": 0.08409
}Semantic roles & 50–950 ramp
primary
#862F76
secondary
#60B06F
accent
#D86950
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E