#862F75#862F75
#862F75 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.7% C 0.146 H 336.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #862F75 |
|---|---|
| RGB | rgb(134, 47, 117) |
| HSL | hsl(312, 48%, 35%) |
| HSV | hsv(312, 65%, 53%) |
| CMYK | cmyk(0%, 64.9%, 12.7%, 47.5%) |
| CIE-LAB | lab(34.78, 45.57, -21.62) |
| CIE-LCH | lch(34.78, 50.43, 334.62°) |
| OKLab | oklab(45.67% 0.1332 -0.0587) |
| OKLCH | oklch(45.67% 0.146 336.2) |
| XYZ | xyz(14.0591, 8.3869, 17.7045) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.54
Warm Purple
#952E8F
ΔE00 5.22
Light Eggplant
#894585
ΔE00 5.41
Darkish Purple
#751973
ΔE00 5.95
Grape
#6C3461
ΔE00 6.19
Red Violet
#9E0168
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862F75 #2F8640
analogous
#6B2F86 #862F75 #862F49
triadic
#862F75 #75862F #2F7586
tetradic
#862F75 #866B2F #2F8640 #2F4986
square
#862F75 #866B2F #2F8640 #2F4986
split-complementary
#862F75 #49862F #2F866B
monochromatic
#2B0F26 #591F4D #862F75 #B33F9D #C966B6
Accessibility & contrast
On white
7.84
#862F75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#862F75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862F75
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862F75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862F75 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304977
Deuteranopia (green-blind)
#4C5773
Tritanopia (blue-blind)
#8D344D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #862f75; /* rgb */ color: rgb(134, 47, 117); /* oklch */ color: oklch(45.7% 0.146 336.2);
Tailwind
colors: {
custom: {
50: '#ac6e9d',
500: '#862f75',
950: '#000000',
},
}SCSS
$custom: #862f75; $custom-light: #ac6e9d; $custom-dark: #000000;
JSON
{
"hex": "#862f75",
"rgb": {
"r": 134,
"g": 47,
"b": 117
},
"hsl": {
"h": 311.724,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.45674,
"c": 0.14558,
"h": 336.2
},
"luminance": 0.08386
}Semantic roles & 50–950 ramp
primary
#862F75
secondary
#60B070
accent
#D86B50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E