#8E337E#8E337E
#8E337E is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.8% C 0.152 H 335.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8E337E |
|---|---|
| RGB | rgb(142, 51, 126) |
| HSL | hsl(311, 47%, 38%) |
| HSV | hsv(311, 64%, 56%) |
| CMYK | cmyk(0%, 64.1%, 11.3%, 44.3%) |
| CIE-LAB | lab(37.16, 47.53, -23.42) |
| CIE-LCH | lch(37.16, 52.99, 333.77°) |
| OKLab | oklab(47.82% 0.1383 -0.0637) |
| OKLCH | oklch(47.82% 0.152 335.3) |
| XYZ | xyz(16.1052, 9.6261, 20.7444) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.56
Light Eggplant
#894585
ΔE00 4.15
Bruise
#7E4071
ΔE00 5.08
Barney Purple
#A00498
ΔE00 6.56
Darkmagenta
#8B008B
ΔE00 7.09
Red Violet
#9E0168
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E337E #338E43
analogous
#70338E #8E337E #8E3351
triadic
#8E337E #7E8E33 #337E8E
tetradic
#8E337E #8E7033 #338E43 #33518E
square
#8E337E #8E7033 #338E43 #33518E
split-complementary
#8E337E #518E33 #338E70
monochromatic
#34132E #612356 #8E337E #BB43A6 #CC70BB
Accessibility & contrast
On white
7.18
#8E337E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#8E337E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E337E
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E337E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E337E | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#505C7C
Tritanopia (blue-blind)
#953953
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8e337e; /* rgb */ color: rgb(142, 51, 126); /* oklch */ color: oklch(47.8% 0.152 335.3);
Tailwind
colors: {
custom: {
50: '#b271a3',
500: '#8e337e',
950: '#000000',
},
}SCSS
$custom: #8e337e; $custom-light: #b271a3; $custom-dark: #000000;
JSON
{
"hex": "#8e337e",
"rgb": {
"r": 142,
"g": 51,
"b": 126
},
"hsl": {
"h": 310.549,
"s": 47.15,
"l": 37.843
},
"oklch": {
"l": 0.47816,
"c": 0.15231,
"h": 335.3
},
"luminance": 0.09625
}Semantic roles & 50–950 ramp
primary
#8E337E
secondary
#69B476
accent
#D76951
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F