#8E1ABB#8E1ABB
#8E1ABB is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.6% C 0.230 H 313.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1ABB |
|---|---|
| RGB | rgb(142, 26, 187) |
| HSL | hsl(283, 76%, 42%) |
| HSV | hsv(283, 86%, 73%) |
| CMYK | cmyk(24.1%, 86.1%, 0%, 26.7%) |
| CIE-LAB | lab(37.98, 67.14, -59.00) |
| CIE-LCH | lch(37.98, 89.38, 318.69°) |
| OKLab | oklab(49.61% 0.1576 -0.1672) |
| OKLCH | oklch(49.61% 0.23 313.3) |
| XYZ | xyz(20.4928, 10.0781, 47.8698) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.23
Darkorchid
#9932CC
ΔE00 4.89
Purple (survey)
#7E1E9C
ΔE00 4.99
Barney
#AC1DB8
ΔE00 6.17
Blueviolet
#8A2BE2
ΔE00 6.21
Violet (survey)
#9A0EEA
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1ABB #47BB1A
analogous
#3E1ABB #8E1ABB #BB1A98
triadic
#8E1ABB #BB8E1A #1ABB8E
tetradic
#8E1ABB #BB3E1A #47BB1A #1A98BB
square
#8E1ABB #BB3E1A #47BB1A #1A98BB
split-complementary
#8E1ABB #98BB1A #1ABB3E
monochromatic
#3C0B50 #651385 #8E1ABB #B030E2 #C566EA
Accessibility & contrast
On white
6.96
#8E1ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#8E1ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E1ABB
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1ABB | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#89466F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8e1abb; /* rgb */ color: rgb(142, 26, 187); /* oklch */ color: oklch(49.6% 0.230 313.3);
Tailwind
colors: {
custom: {
50: '#b469d0',
500: '#8e1abb',
950: '#000000',
},
}SCSS
$custom: #8e1abb; $custom-light: #b469d0; $custom-dark: #000000;
JSON
{
"hex": "#8e1abb",
"rgb": {
"r": 142,
"g": 26,
"b": 187
},
"hsl": {
"h": 283.23,
"s": 75.587,
"l": 41.765
},
"oklch": {
"l": 0.49606,
"c": 0.22976,
"h": 313.3
},
"luminance": 0.10077
}Semantic roles & 50–950 ramp
primary
#8E1ABB
secondary
#80CF62
accent
#F2366A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120714
muted
#817A82