#8E2196#8E2196
#8E2196 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.194 H 325.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2196 |
|---|---|
| RGB | rgb(142, 33, 150) |
| HSL | hsl(296, 64%, 36%) |
| HSV | hsv(296, 78%, 59%) |
| CMYK | cmyk(5.3%, 78%, 0%, 41.2%) |
| CIE-LAB | lab(36.06, 58.42, -39.92) |
| CIE-LCH | lch(36.06, 70.76, 325.65°) |
| OKLab | oklab(47.45% 0.1589 -0.1113) |
| OKLCH | oklch(47.45% 0.194 325) |
| XYZ | xyz(17.2038, 9.0416, 29.6873) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkmagenta
#8B008B
ΔE00 3.23
Barney Purple
#A00498
ΔE00 3.26
Warm Purple
#952E8F
ΔE00 3.50
Purple (survey)
#7E1E9C
ΔE00 3.97
Purple
#800080
ΔE00 5.24
Barney
#AC1DB8
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2196 #299621
analogous
#532196 #8E2196 #962163
triadic
#8E2196 #968E21 #21968E
tetradic
#8E2196 #965321 #299621 #216396
square
#8E2196 #965321 #299621 #216396
split-complementary
#8E2196 #639621 #219653
monochromatic
#2F0B32 #5F1664 #8E2196 #BD2CC8 #D157DA
Accessibility & contrast
On white
7.48
#8E2196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#8E2196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2196
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2196 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#3A5993
Tritanopia (blue-blind)
#91375B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8e2196; /* rgb */ color: rgb(142, 33, 150); /* oklch */ color: oklch(47.4% 0.194 325.0);
Tailwind
colors: {
custom: {
50: '#b36ab5',
500: '#8e2196',
950: '#000000',
},
}SCSS
$custom: #8e2196; $custom-light: #b36ab5; $custom-dark: #000000;
JSON
{
"hex": "#8e2196",
"rgb": {
"r": 142,
"g": 33,
"b": 150
},
"hsl": {
"h": 295.897,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.47448,
"c": 0.19395,
"h": 325
},
"luminance": 0.09041
}Semantic roles & 50–950 ramp
primary
#8E2196
secondary
#5CBE55
accent
#E7414C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80