#862F74#862F74
#862F74 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.145 H 336.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #862F74 |
|---|---|
| RGB | rgb(134, 47, 116) |
| HSL | hsl(312, 48%, 35%) |
| HSV | hsv(312, 65%, 53%) |
| CMYK | cmyk(0%, 64.9%, 13.4%, 47.5%) |
| CIE-LAB | lab(34.73, 45.40, -21.06) |
| CIE-LCH | lch(34.73, 50.05, 335.11°) |
| OKLab | oklab(45.62% 0.1331 -0.0571) |
| OKLCH | oklch(45.62% 0.145 336.8) |
| XYZ | xyz(14.0006, 8.3635, 17.3965) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.46
Warm Purple
#952E8F
ΔE00 5.42
Light Eggplant
#894585
ΔE00 5.51
Darkish Purple
#751973
ΔE00 6.07
Grape
#6C3461
ΔE00 6.09
Red Violet
#9E0168
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862F74 #2F8641
analogous
#6C2F86 #862F74 #862F48
triadic
#862F74 #74862F #2F7486
tetradic
#862F74 #866C2F #2F8641 #2F4886
square
#862F74 #866C2F #2F8641 #2F4886
split-complementary
#862F74 #48862F #2F866C
monochromatic
#2B0F26 #591F4D #862F74 #B33F9B #C966B5
Accessibility & contrast
On white
7.86
#862F74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#862F74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862F74
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862F74 | 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)
#314976
Deuteranopia (green-blind)
#4C5672
Tritanopia (blue-blind)
#8D334D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #862f74; /* rgb */ color: rgb(134, 47, 116); /* oklch */ color: oklch(45.6% 0.145 336.8);
Tailwind
colors: {
custom: {
50: '#ac6e9c',
500: '#862f74',
950: '#000000',
},
}SCSS
$custom: #862f74; $custom-light: #ac6e9c; $custom-dark: #000000;
JSON
{
"hex": "#862f74",
"rgb": {
"r": 134,
"g": 47,
"b": 116
},
"hsl": {
"h": 312.414,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.45624,
"c": 0.14481,
"h": 336.8
},
"luminance": 0.08362
}Semantic roles & 50–950 ramp
primary
#862F74
secondary
#60B071
accent
#D86C50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E