#8E2999#8E2999
#8E2999 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.188 H 323.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2999 |
|---|---|
| RGB | rgb(142, 41, 153) |
| HSL | hsl(294, 58%, 38%) |
| HSV | hsv(294, 73%, 60%) |
| CMYK | cmyk(7.2%, 73.2%, 0%, 40%) |
| CIE-LAB | lab(37.18, 56.27, -39.96) |
| CIE-LCH | lch(37.18, 69.02, 324.62°) |
| OKLab | oklab(48.31% 0.1513 -0.1114) |
| OKLCH | oklch(48.31% 0.188 323.6) |
| XYZ | xyz(17.6975, 9.6376, 31.0589) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.24
Barney Purple
#A00498
ΔE00 3.73
Purple (survey)
#7E1E9C
ΔE00 4.26
Darkmagenta
#8B008B
ΔE00 4.38
Purply
#983FB2
ΔE00 6.02
Purple
#800080
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2999 #349929
analogous
#562999 #8E2999 #99296C
triadic
#8E2999 #998E29 #29998E
tetradic
#8E2999 #995629 #349929 #296C99
square
#8E2999 #995629 #349929 #296C99
split-complementary
#8E2999 #6C9929 #299956
monochromatic
#340F38 #611C69 #8E2999 #BB36C9 #CB66D6
Accessibility & contrast
On white
7.17
#8E2999 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#8E2999 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2999
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2999 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2999 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#3C5B96
Tritanopia (blue-blind)
#903D5F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8e2999; /* rgb */ color: rgb(142, 41, 153); /* oklch */ color: oklch(48.3% 0.188 323.6);
Tailwind
colors: {
custom: {
50: '#b36db7',
500: '#8e2999',
950: '#000000',
},
}SCSS
$custom: #8e2999; $custom-light: #b36db7; $custom-dark: #000000;
JSON
{
"hex": "#8e2999",
"rgb": {
"r": 142,
"g": 41,
"b": 153
},
"hsl": {
"h": 294.107,
"s": 57.732,
"l": 38.039
},
"oklch": {
"l": 0.48305,
"c": 0.18793,
"h": 323.6
},
"luminance": 0.09637
}Semantic roles & 50–950 ramp
primary
#8E2999
secondary
#6ABC62
accent
#E14756
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80