#8E41BB#8E41BB
#8E41BB is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.1% C 0.189 H 310.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8E41BB |
|---|---|
| RGB | rgb(142, 65, 187) |
| HSL | hsl(278, 48%, 49%) |
| HSV | hsv(278, 65%, 73%) |
| CMYK | cmyk(24.1%, 65.2%, 0%, 26.7%) |
| CIE-LAB | lab(42.94, 52.99, -50.99) |
| CIE-LCH | lch(42.94, 73.54, 316.11°) |
| OKLab | oklab(53.12% 0.1232 -0.1439) |
| OKLCH | oklch(53.12% 0.189 310.6) |
| XYZ | xyz(22.0136, 13.1197, 48.3768) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.87
Darkorchid
#9932CC
ΔE00 3.32
Royal Purple
#7851A9
ΔE00 6.04
Barney
#AC1DB8
ΔE00 6.33
Blueviolet
#8A2BE2
ΔE00 6.42
Medium Purple
#9E43A2
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E41BB #6EBB41
analogous
#5141BB #8E41BB #BB41AB
triadic
#8E41BB #BB8E41 #41BB8E
tetradic
#8E41BB #BB5141 #6EBB41 #41ABBB
square
#8E41BB #BB5141 #6EBB41 #41ABBB
split-complementary
#8E41BB #ABBB41 #41BB51
monochromatic
#492160 #6C318E #8E41BB #A96DCC #C49ADC
Accessibility & contrast
On white
5.80
#8E41BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#8E41BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E41BB
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E41BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E41BB | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#3267B8
Tritanopia (blue-blind)
#885A78
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8e41bb; /* rgb */ color: rgb(142, 65, 187); /* oklch */ color: oklch(53.1% 0.189 310.6);
Tailwind
colors: {
custom: {
50: '#b37bd0',
500: '#8e41bb',
950: '#000000',
},
}SCSS
$custom: #8e41bb; $custom-light: #b37bd0; $custom-dark: #000000;
JSON
{
"hex": "#8e41bb",
"rgb": {
"r": 142,
"g": 65,
"b": 187
},
"hsl": {
"h": 277.869,
"s": 48.413,
"l": 49.412
},
"oklch": {
"l": 0.53118,
"c": 0.18937,
"h": 310.6
},
"luminance": 0.13119
}Semantic roles & 50–950 ramp
primary
#8E41BB
secondary
#A5C890
accent
#D85082
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82