#8E147D#8E147D
#8E147D is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.186 H 335.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8E147D |
|---|---|
| RGB | rgb(142, 20, 125) |
| HSL | hsl(308, 75%, 32%) |
| HSV | hsv(308, 86%, 56%) |
| CMYK | cmyk(0%, 85.9%, 12%, 44.3%) |
| CIE-LAB | lab(33.42, 57.82, -28.66) |
| CIE-LCH | lch(33.42, 64.54, 333.63°) |
| OKLab | oklab(45.1% 0.1691 -0.0785) |
| OKLCH | oklch(45.1% 0.186 335.1) |
| XYZ | xyz(15.1074, 7.7332, 20.0951) |
| Luminance | 0.0773 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkmagenta
#8B008B
ΔE00 3.62
Purple
#800080
ΔE00 4.15
Warm Purple
#952E8F
ΔE00 4.63
Darkish Purple
#751973
ΔE00 4.78
Barney Purple
#A00498
ΔE00 4.97
Red Violet
#9E0168
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E147D #148E25
analogous
#62148E #8E147D #8E1440
triadic
#8E147D #7D8E14 #147D8E
tetradic
#8E147D #8E6214 #148E25 #14408E
square
#8E147D #8E6214 #148E25 #14408E
split-complementary
#8E147D #408E14 #148E62
monochromatic
#23051F #580C4E #8E147D #C41CAC #E339CB
Accessibility & contrast
On white
8.25
#8E147D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#8E147D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E147D
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E147D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E147D | 1.00 | 8.25 | 2.55 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134380
Deuteranopia (green-blind)
#44557A
Tritanopia (blue-blind)
#95214A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8e147d; /* rgb */ color: rgb(142, 20, 125); /* oklch */ color: oklch(45.1% 0.186 335.1);
Tailwind
colors: {
custom: {
50: '#b364a3',
500: '#8e147d',
950: '#000000',
},
}SCSS
$custom: #8e147d; $custom-light: #b364a3; $custom-dark: #000000;
JSON
{
"hex": "#8e147d",
"rgb": {
"r": 142,
"g": 20,
"b": 125
},
"hsl": {
"h": 308.361,
"s": 75.309,
"l": 31.765
},
"oklch": {
"l": 0.45098,
"c": 0.18647,
"h": 335.1
},
"luminance": 0.07732
}Semantic roles & 50–950 ramp
primary
#8E147D
secondary
#3CC24F
accent
#F25036
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F