#8E2097#8E2097
#8E2097 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.196 H 324.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2097 |
|---|---|
| RGB | rgb(142, 32, 151) |
| HSL | hsl(295, 65%, 36%) |
| HSV | hsv(295, 79%, 59%) |
| CMYK | cmyk(6%, 78.8%, 0%, 40.8%) |
| CIE-LAB | lab(36.02, 58.90, -40.60) |
| CIE-LCH | lch(36.02, 71.53, 325.42°) |
| OKLab | oklab(47.44% 0.1596 -0.1132) |
| OKLCH | oklch(47.44% 0.196 324.7) |
| XYZ | xyz(17.2573, 9.0193, 30.1041) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkmagenta
#8B008B
ΔE00 3.22
Barney Purple
#A00498
ΔE00 3.30
Warm Purple
#952E8F
ΔE00 3.71
Purple (survey)
#7E1E9C
ΔE00 3.80
Purple
#800080
ΔE00 5.26
Barney
#AC1DB8
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2097 #299720
analogous
#522097 #8E2097 #972064
triadic
#8E2097 #978E20 #20978E
tetradic
#8E2097 #975220 #299720 #206497
square
#8E2097 #975220 #299720 #206497
split-complementary
#8E2097 #649720 #209752
monochromatic
#2F0B32 #5F1564 #8E2097 #BD2BC9 #D156DB
Accessibility & contrast
On white
7.49
#8E2097 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#8E2097 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2097
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2097 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#91375B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8e2097; /* rgb */ color: rgb(142, 32, 151); /* oklch */ color: oklch(47.4% 0.196 324.7);
Tailwind
colors: {
custom: {
50: '#b369b6',
500: '#8e2097',
950: '#000000',
},
}SCSS
$custom: #8e2097; $custom-light: #b369b6; $custom-dark: #000000;
JSON
{
"hex": "#8e2097",
"rgb": {
"r": 142,
"g": 32,
"b": 151
},
"hsl": {
"h": 295.462,
"s": 65.027,
"l": 35.882
},
"oklch": {
"l": 0.47438,
"c": 0.19572,
"h": 324.7
},
"luminance": 0.09018
}Semantic roles & 50–950 ramp
primary
#8E2097
secondary
#5CBF54
accent
#E8404D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80