#862F77#862F77
#862F77 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.147 H 335.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #862F77 |
|---|---|
| RGB | rgb(134, 47, 119) |
| HSL | hsl(310, 48%, 35%) |
| HSV | hsv(310, 65%, 53%) |
| CMYK | cmyk(0%, 64.9%, 11.2%, 47.5%) |
| CIE-LAB | lab(34.87, 45.90, -22.72) |
| CIE-LCH | lch(34.87, 51.21, 333.66°) |
| OKLab | oklab(45.78% 0.1335 -0.0619) |
| OKLCH | oklch(45.78% 0.147 335.1) |
| XYZ | xyz(14.1779, 8.4344, 18.3305) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.74
Warm Purple
#952E8F
ΔE00 4.83
Light Eggplant
#894585
ΔE00 5.26
Darkish Purple
#751973
ΔE00 5.75
Grape
#6C3461
ΔE00 6.42
Darkmagenta
#8B008B
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862F77 #2F863E
analogous
#692F86 #862F77 #862F4B
triadic
#862F77 #77862F #2F7786
tetradic
#862F77 #86692F #2F863E #2F4B86
square
#862F77 #86692F #2F863E #2F4B86
split-complementary
#862F77 #4B862F #2F8669
monochromatic
#2B0F27 #591F4F #862F77 #B33F9F #C966B8
Accessibility & contrast
On white
7.82
#862F77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#862F77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862F77
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862F77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862F77 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4A79
Deuteranopia (green-blind)
#4B5775
Tritanopia (blue-blind)
#8C354E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #862f77; /* rgb */ color: rgb(134, 47, 119); /* oklch */ color: oklch(45.8% 0.147 335.1);
Tailwind
colors: {
custom: {
50: '#ac6e9e',
500: '#862f77',
950: '#000000',
},
}SCSS
$custom: #862f77; $custom-light: #ac6e9e; $custom-dark: #000000;
JSON
{
"hex": "#862f77",
"rgb": {
"r": 134,
"g": 47,
"b": 119
},
"hsl": {
"h": 310.345,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.45775,
"c": 0.14717,
"h": 335.1
},
"luminance": 0.08433
}Semantic roles & 50–950 ramp
primary
#862F77
secondary
#60B06E
accent
#D86850
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E