#8E239B#8E239B
#8E239B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.196 H 323.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8E239B |
|---|---|
| RGB | rgb(142, 35, 155) |
| HSL | hsl(294, 63%, 37%) |
| HSV | hsv(294, 77%, 61%) |
| CMYK | cmyk(8.4%, 77.4%, 0%, 39.2%) |
| CIE-LAB | lab(36.59, 58.68, -42.12) |
| CIE-LCH | lch(36.59, 72.23, 324.33°) |
| OKLab | oklab(47.93% 0.1568 -0.1177) |
| OKLCH | oklch(47.93% 0.196 323.1) |
| XYZ | xyz(17.6722, 9.3205, 31.8722) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.61
Barney Purple
#A00498
ΔE00 3.63
Darkmagenta
#8B008B
ΔE00 3.93
Warm Purple
#952E8F
ΔE00 3.97
Purple
#800080
ΔE00 5.92
Barney
#AC1DB8
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E239B #309B23
analogous
#52239B #8E239B #9B236C
triadic
#8E239B #9B8E23 #239B8E
tetradic
#8E239B #9B5223 #309B23 #236C9B
square
#8E239B #9B5223 #309B23 #236C9B
split-complementary
#8E239B #6C9B23 #239B52
monochromatic
#330C37 #601869 #8E239B #BC2ECD #CD5EDB
Accessibility & contrast
On white
7.33
#8E239B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#8E239B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E239B
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E239B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E239B | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#903A5E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8e239b; /* rgb */ color: rgb(142, 35, 155); /* oklch */ color: oklch(47.9% 0.196 323.1);
Tailwind
colors: {
custom: {
50: '#b36bb9',
500: '#8e239b',
950: '#000000',
},
}SCSS
$custom: #8e239b; $custom-light: #b36bb9; $custom-dark: #000000;
JSON
{
"hex": "#8e239b",
"rgb": {
"r": 142,
"g": 35,
"b": 155
},
"hsl": {
"h": 293.5,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.47925,
"c": 0.19604,
"h": 323.1
},
"luminance": 0.09319
}Semantic roles & 50–950 ramp
primary
#8E239B
secondary
#65BF5A
accent
#E64253
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80