#8E239F#8E239F
#8E239F is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.199 H 321.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8E239F |
|---|---|
| RGB | rgb(142, 35, 159) |
| HSL | hsl(292, 64%, 38%) |
| HSV | hsv(292, 78%, 62%) |
| CMYK | cmyk(10.7%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(36.85, 59.40, -44.13) |
| CIE-LCH | lch(36.85, 74.00, 323.39°) |
| OKLab | oklab(48.19% 0.1564 -0.1236) |
| OKLCH | oklch(48.19% 0.199 321.7) |
| XYZ | xyz(18.0137, 9.4571, 33.6707) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.39
Barney Purple
#A00498
ΔE00 4.00
Darkmagenta
#8B008B
ΔE00 4.42
Warm Purple
#952E8F
ΔE00 4.54
Barney
#AC1DB8
ΔE00 6.07
Purply
#983FB2
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E239F #349F23
analogous
#50239F #8E239F #9F2372
triadic
#8E239F #9F8E23 #239F8E
tetradic
#8E239F #9F5023 #349F23 #23729F
square
#8E239F #9F5023 #349F23 #23729F
split-complementary
#8E239F #729F23 #239F50
monochromatic
#340D3B #61186D #8E239F #BB2ED1 #CB60DC
Accessibility & contrast
On white
7.26
#8E239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#8E239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E239F
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E239F | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#345B9C
Tritanopia (blue-blind)
#8F3C61
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8e239f; /* rgb */ color: rgb(142, 35, 159); /* oklch */ color: oklch(48.2% 0.199 321.7);
Tailwind
colors: {
custom: {
50: '#b36bbc',
500: '#8e239f',
950: '#000000',
},
}SCSS
$custom: #8e239f; $custom-light: #b36bbc; $custom-dark: #000000;
JSON
{
"hex": "#8e239f",
"rgb": {
"r": 142,
"g": 35,
"b": 159
},
"hsl": {
"h": 291.774,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.48188,
"c": 0.19933,
"h": 321.7
},
"luminance": 0.09456
}Semantic roles & 50–950 ramp
primary
#8E239F
secondary
#6AC15D
accent
#E74158
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81