#8E2799#8E2799
#8E2799 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.190 H 323.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2799 |
|---|---|
| RGB | rgb(142, 39, 153) |
| HSL | hsl(294, 59%, 38%) |
| HSV | hsv(294, 75%, 60%) |
| CMYK | cmyk(7.2%, 74.5%, 0%, 40%) |
| CIE-LAB | lab(36.93, 56.98, -40.36) |
| CIE-LCH | lch(36.93, 69.83, 324.69°) |
| OKLab | oklab(48.13% 0.1533 -0.1126) |
| OKLCH | oklch(48.13% 0.19 323.7) |
| XYZ | xyz(17.6301, 9.5028, 31.0364) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.38
Barney Purple
#A00498
ΔE00 3.62
Purple (survey)
#7E1E9C
ΔE00 4.08
Darkmagenta
#8B008B
ΔE00 4.14
Purple
#800080
ΔE00 6.08
Purply
#983FB2
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2799 #329927
analogous
#552799 #8E2799 #99276B
triadic
#8E2799 #998E27 #27998E
tetradic
#8E2799 #995527 #329927 #276B99
square
#8E2799 #995527 #329927 #276B99
split-complementary
#8E2799 #6B9927 #279955
monochromatic
#330E37 #611B68 #8E2799 #BB33CA #CC63D7
Accessibility & contrast
On white
7.24
#8E2799 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#8E2799 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2799
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2799 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#3B5B96
Tritanopia (blue-blind)
#913C5E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8e2799; /* rgb */ color: rgb(142, 39, 153); /* oklch */ color: oklch(48.1% 0.190 323.7);
Tailwind
colors: {
custom: {
50: '#b36cb7',
500: '#8e2799',
950: '#000000',
},
}SCSS
$custom: #8e2799; $custom-light: #b36cb7; $custom-dark: #000000;
JSON
{
"hex": "#8e2799",
"rgb": {
"r": 142,
"g": 39,
"b": 153
},
"hsl": {
"h": 294.211,
"s": 59.375,
"l": 37.647
},
"oklch": {
"l": 0.48127,
"c": 0.19018,
"h": 323.7
},
"luminance": 0.09502
}Semantic roles & 50–950 ramp
primary
#8E2799
secondary
#68BD5F
accent
#E34554
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80