#8E299E#8E299E
#8E299E is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.192 H 321.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8E299E |
|---|---|
| RGB | rgb(142, 41, 158) |
| HSL | hsl(292, 59%, 39%) |
| HSV | hsv(292, 74%, 62%) |
| CMYK | cmyk(10.1%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(37.49, 57.19, -42.49) |
| CIE-LCH | lch(37.49, 71.25, 323.39°) |
| OKLab | oklab(48.62% 0.1511 -0.1188) |
| OKLCH | oklch(48.62% 0.192 321.8) |
| XYZ | xyz(18.1192, 9.8063, 33.2795) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.93
Warm Purple
#952E8F
ΔE00 4.02
Barney Purple
#A00498
ΔE00 4.12
Darkmagenta
#8B008B
ΔE00 4.87
Purply
#983FB2
ΔE00 5.52
Barney
#AC1DB8
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E299E #399E29
analogous
#54299E #8E299E #9E2974
triadic
#8E299E #9E8E29 #299E8E
tetradic
#8E299E #9E5429 #399E29 #29749E
square
#8E299E #9E5429 #399E29 #29749E
split-complementary
#8E299E #749E29 #299E54
monochromatic
#37103D #621C6D #8E299E #B739CC #C969D8
Accessibility & contrast
On white
7.09
#8E299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#8E299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E299E
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E299E | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#395C9B
Tritanopia (blue-blind)
#903F61
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8e299e; /* rgb */ color: rgb(142, 41, 158); /* oklch */ color: oklch(48.6% 0.192 321.8);
Tailwind
colors: {
custom: {
50: '#b36dbb',
500: '#8e299e',
950: '#000000',
},
}SCSS
$custom: #8e299e; $custom-light: #b36dbb; $custom-dark: #000000;
JSON
{
"hex": "#8e299e",
"rgb": {
"r": 142,
"g": 41,
"b": 158
},
"hsl": {
"h": 291.795,
"s": 58.794,
"l": 39.02
},
"oklch": {
"l": 0.48624,
"c": 0.1922,
"h": 321.8
},
"luminance": 0.09805
}Semantic roles & 50–950 ramp
primary
#8E299E
secondary
#71BF64
accent
#E2465B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81