#8E207A#8E207A
#8E207A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.174 H 336.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8E207A |
|---|---|
| RGB | rgb(142, 32, 122) |
| HSL | hsl(311, 63%, 34%) |
| HSV | hsv(311, 77%, 56%) |
| CMYK | cmyk(0%, 77.5%, 14.1%, 44.3%) |
| CIE-LAB | lab(34.38, 54.17, -25.28) |
| CIE-LCH | lch(34.38, 59.78, 334.98°) |
| OKLab | oklab(45.73% 0.1594 -0.0689) |
| OKLCH | oklch(45.73% 0.174 336.6) |
| XYZ | xyz(15.1850, 8.1904, 19.1897) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.36
Darkmagenta
#8B008B
ΔE00 5.06
Darkish Purple
#751973
ΔE00 5.44
Purple
#800080
ΔE00 5.53
Barney Purple
#A00498
ΔE00 5.67
Red Violet
#9E0168
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E207A #208E34
analogous
#6B208E #8E207A #8E2043
triadic
#8E207A #7A8E20 #207A8E
tetradic
#8E207A #8E6B20 #208E34 #20438E
square
#8E207A #8E6B20 #208E34 #20438E
split-complementary
#8E207A #438E20 #208E6B
monochromatic
#2A0924 #5C154F #8E207A #C02BA5 #D851BF
Accessibility & contrast
On white
7.96
#8E207A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8E207A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E207A
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E207A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E207A | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#495777
Tritanopia (blue-blind)
#96284B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e207a; /* rgb */ color: rgb(142, 32, 122); /* oklch */ color: oklch(45.7% 0.174 336.6);
Tailwind
colors: {
custom: {
50: '#b368a0',
500: '#8e207a',
950: '#000000',
},
}SCSS
$custom: #8e207a; $custom-light: #b368a0; $custom-dark: #000000;
JSON
{
"hex": "#8e207a",
"rgb": {
"r": 142,
"g": 32,
"b": 122
},
"hsl": {
"h": 310.909,
"s": 63.218,
"l": 34.118
},
"oklch": {
"l": 0.45731,
"c": 0.17363,
"h": 336.6
},
"luminance": 0.08189
}Semantic roles & 50–950 ramp
primary
#8E207A
secondary
#4FBB63
accent
#E65F42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E