#8E1E9D#8E1E9D
#8E1E9D is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.7% C 0.202 H 322.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1E9D |
|---|---|
| RGB | rgb(142, 30, 157) |
| HSL | hsl(293, 68%, 37%) |
| HSV | hsv(293, 81%, 62%) |
| CMYK | cmyk(9.6%, 80.9%, 0%, 38.4%) |
| CIE-LAB | lab(36.20, 60.54, -43.95) |
| CIE-LCH | lch(36.20, 74.81, 324.02°) |
| OKLab | oklab(47.69% 0.1607 -0.123) |
| OKLCH | oklch(47.69% 0.202 322.6) |
| XYZ | xyz(17.7048, 9.1147, 32.7185) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.21
Barney Purple
#A00498
ΔE00 3.75
Darkmagenta
#8B008B
ΔE00 3.79
Warm Purple
#952E8F
ΔE00 4.61
Purple
#800080
ΔE00 5.81
Barney
#AC1DB8
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1E9D #2D9D1E
analogous
#4E1E9D #8E1E9D #9D1E6D
triadic
#8E1E9D #9D8E1E #1E9D8E
tetradic
#8E1E9D #9D4E1E #2D9D1E #1E6D9D
square
#8E1E9D #9D4E1E #2D9D1E #1E6D9D
split-complementary
#8E1E9D #6D9D1E #1E9D4E
monochromatic
#310A36 #60146A #8E1E9D #BC28D0 #CF57DF
Accessibility & contrast
On white
7.44
#8E1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#8E1E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1E9D
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1E9D | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#33599A
Tritanopia (blue-blind)
#90395E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8e1e9d; /* rgb */ color: rgb(142, 30, 157); /* oklch */ color: oklch(47.7% 0.202 322.6);
Tailwind
colors: {
custom: {
50: '#b369ba',
500: '#8e1e9d',
950: '#000000',
},
}SCSS
$custom: #8e1e9d; $custom-light: #b369ba; $custom-dark: #000000;
JSON
{
"hex": "#8e1e9d",
"rgb": {
"r": 142,
"g": 30,
"b": 157
},
"hsl": {
"h": 292.913,
"s": 67.914,
"l": 36.667
},
"oklch": {
"l": 0.4769,
"c": 0.20235,
"h": 322.6
},
"luminance": 0.09114
}Semantic roles & 50–950 ramp
primary
#8E1E9D
secondary
#61C254
accent
#EB3D52
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81