#862F71#862F71
#862F71 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.5% C 0.142 H 338.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #862F71 |
|---|---|
| RGB | rgb(134, 47, 113) |
| HSL | hsl(314, 48%, 35%) |
| HSV | hsv(314, 65%, 53%) |
| CMYK | cmyk(0%, 64.9%, 15.7%, 47.5%) |
| CIE-LAB | lab(34.59, 44.92, -19.39) |
| CIE-LCH | lch(34.59, 48.93, 336.65°) |
| OKLab | oklab(45.48% 0.1325 -0.0524) |
| OKLCH | oklch(45.48% 0.143 338.4) |
| XYZ | xyz(13.8289, 8.2948, 16.4923) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.29
Grape
#6C3461
ΔE00 5.83
Light Eggplant
#894585
ΔE00 5.84
Warm Purple
#952E8F
ΔE00 6.06
Red Violet
#9E0168
ΔE00 6.30
Darkish Purple
#751973
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862F71 #2F8644
analogous
#6F2F86 #862F71 #862F45
triadic
#862F71 #71862F #2F7186
tetradic
#862F71 #866F2F #2F8644 #2F4586
square
#862F71 #866F2F #2F8644 #2F4586
split-complementary
#862F71 #45862F #2F866F
monochromatic
#2B0F25 #591F4B #862F71 #B33F97 #C966B1
Accessibility & contrast
On white
7.90
#862F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#862F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862F71
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862F71 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324973
Deuteranopia (green-blind)
#4D566F
Tritanopia (blue-blind)
#8D324B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #862f71; /* rgb */ color: rgb(134, 47, 113); /* oklch */ color: oklch(45.5% 0.142 338.4);
Tailwind
colors: {
custom: {
50: '#ac6e9a',
500: '#862f71',
950: '#000000',
},
}SCSS
$custom: #862f71; $custom-light: #ac6e9a; $custom-dark: #000000;
JSON
{
"hex": "#862f71",
"rgb": {
"r": 134,
"g": 47,
"b": 113
},
"hsl": {
"h": 314.483,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.45477,
"c": 0.1425,
"h": 338.4
},
"luminance": 0.08294
}Semantic roles & 50–950 ramp
primary
#862F71
secondary
#60B074
accent
#D87150
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E