#8E218F#8E218F
#8E218F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.188 H 327.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8E218F |
|---|---|
| RGB | rgb(142, 33, 143) |
| HSL | hsl(299, 63%, 35%) |
| HSV | hsv(299, 77%, 56%) |
| CMYK | cmyk(0.7%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(35.64, 57.21, -36.31) |
| CIE-LCH | lch(35.64, 67.77, 327.60°) |
| OKLab | oklab(47.01% 0.1592 -0.1008) |
| OKLCH | oklch(47.01% 0.188 327.7) |
| XYZ | xyz(16.6569, 8.8229, 26.8069) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.85
Darkmagenta
#8B008B
ΔE00 2.86
Barney Purple
#A00498
ΔE00 3.19
Purple
#800080
ΔE00 4.71
Purple (survey)
#7E1E9C
ΔE00 4.90
Darkish Purple
#751973
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E218F #228F21
analogous
#57218F #8E218F #8F2159
triadic
#8E218F #8F8E21 #218F8E
tetradic
#8E218F #8F5721 #228F21 #21598F
square
#8E218F #8F5721 #228F21 #21598F
split-complementary
#8E218F #598F21 #218F57
monochromatic
#2B0A2C #5D165D #8E218F #BF2CC1 #D653D7
Accessibility & contrast
On white
7.60
#8E218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#8E218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E218F
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E218F | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#034B92
Deuteranopia (green-blind)
#3F598C
Tritanopia (blue-blind)
#923357
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8e218f; /* rgb */ color: rgb(142, 33, 143); /* oklch */ color: oklch(47.0% 0.188 327.7);
Tailwind
colors: {
custom: {
50: '#b369b0',
500: '#8e218f',
950: '#000000',
},
}SCSS
$custom: #8e218f; $custom-light: #b369b0; $custom-dark: #000000;
JSON
{
"hex": "#8e218f",
"rgb": {
"r": 142,
"g": 33,
"b": 143
},
"hsl": {
"h": 299.455,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.47011,
"c": 0.18838,
"h": 327.7
},
"luminance": 0.08822
}Semantic roles & 50–950 ramp
primary
#8E218F
secondary
#52BB51
accent
#E64244
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F