#8E1E79#8E1E79
#8E1E79 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.175 H 337.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1E79 |
|---|---|
| RGB | rgb(142, 30, 121) |
| HSL | hsl(311, 65%, 34%) |
| HSV | hsv(311, 79%, 56%) |
| CMYK | cmyk(0%, 78.9%, 14.8%, 44.3%) |
| CIE-LAB | lab(34.11, 54.64, -25.07) |
| CIE-LCH | lch(34.11, 60.11, 335.36°) |
| OKLab | oklab(45.52% 0.1611 -0.0682) |
| OKLCH | oklch(45.52% 0.175 337) |
| XYZ | xyz(15.0711, 8.0612, 18.8477) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.62
Darkmagenta
#8B008B
ΔE00 5.07
Darkish Purple
#751973
ΔE00 5.37
Purple
#800080
ΔE00 5.46
Barney Purple
#A00498
ΔE00 5.79
Red Violet
#9E0168
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1E79 #1E8E33
analogous
#6B1E8E #8E1E79 #8E1E41
triadic
#8E1E79 #798E1E #1E798E
tetradic
#8E1E79 #8E6B1E #1E8E33 #1E418E
square
#8E1E79 #8E6B1E #1E8E33 #1E418E
split-complementary
#8E1E79 #418E1E #1E8E6B
monochromatic
#290923 #5B134E #8E1E79 #C129A4 #D94DBF
Accessibility & contrast
On white
8.04
#8E1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#8E1E79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1E79
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1E79 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22457B
Deuteranopia (green-blind)
#495676
Tritanopia (blue-blind)
#96264A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8e1e79; /* rgb */ color: rgb(142, 30, 121); /* oklch */ color: oklch(45.5% 0.175 337.0);
Tailwind
colors: {
custom: {
50: '#b367a0',
500: '#8e1e79',
950: '#000000',
},
}SCSS
$custom: #8e1e79; $custom-light: #b367a0; $custom-dark: #000000;
JSON
{
"hex": "#8e1e79",
"rgb": {
"r": 142,
"g": 30,
"b": 121
},
"hsl": {
"h": 311.25,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.45523,
"c": 0.175,
"h": 337
},
"luminance": 0.0806
}Semantic roles & 50–950 ramp
primary
#8E1E79
secondary
#4CBC61
accent
#E85F40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E