#8E1E97#8E1E97
#8E1E97 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.198 H 324.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1E97 |
|---|---|
| RGB | rgb(142, 30, 151) |
| HSL | hsl(296, 67%, 35%) |
| HSV | hsv(296, 80%, 59%) |
| CMYK | cmyk(6%, 80.1%, 0%, 40.8%) |
| CIE-LAB | lab(35.82, 59.48, -40.92) |
| CIE-LCH | lch(35.82, 72.20, 325.47°) |
| OKLab | oklab(47.3% 0.1612 -0.1142) |
| OKLCH | oklch(47.3% 0.198 324.7) |
| XYZ | xyz(17.2051, 8.9148, 30.0867) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkmagenta
#8B008B
ΔE00 3.05
Barney Purple
#A00498
ΔE00 3.28
Purple (survey)
#7E1E9C
ΔE00 3.71
Warm Purple
#952E8F
ΔE00 3.88
Purple
#800080
ΔE00 5.11
Barney
#AC1DB8
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1E97 #27971E
analogous
#511E97 #8E1E97 #971E63
triadic
#8E1E97 #978E1E #1E978E
tetradic
#8E1E97 #97511E #27971E #1E6397
square
#8E1E97 #97511E #27971E #1E6397
split-complementary
#8E1E97 #63971E #1E9751
monochromatic
#2E0A31 #5E1464 #8E1E97 #BE28CA #D253DD
Accessibility & contrast
On white
7.55
#8E1E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#8E1E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1E97
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1E97 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#385994
Tritanopia (blue-blind)
#91365B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8e1e97; /* rgb */ color: rgb(142, 30, 151); /* oklch */ color: oklch(47.3% 0.198 324.7);
Tailwind
colors: {
custom: {
50: '#b369b6',
500: '#8e1e97',
950: '#000000',
},
}SCSS
$custom: #8e1e97; $custom-light: #b369b6; $custom-dark: #000000;
JSON
{
"hex": "#8e1e97",
"rgb": {
"r": 142,
"g": 30,
"b": 151
},
"hsl": {
"h": 295.537,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.47295,
"c": 0.19756,
"h": 324.7
},
"luminance": 0.08914
}Semantic roles & 50–950 ramp
primary
#8E1E97
secondary
#59C051
accent
#EA3E4B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80