#8E41BF#8E41BF
#8E41BF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.4% C 0.194 H 309.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8E41BF |
|---|---|
| RGB | rgb(142, 65, 191) |
| HSL | hsl(277, 50%, 50%) |
| HSV | hsv(277, 66%, 75%) |
| CMYK | cmyk(25.7%, 66%, 0%, 25.1%) |
| CIE-LAB | lab(43.20, 53.88, -52.91) |
| CIE-LCH | lch(43.20, 75.51, 315.52°) |
| OKLab | oklab(53.39% 0.1229 -0.1495) |
| OKLCH | oklch(53.39% 0.194 309.4) |
| XYZ | xyz(22.4477, 13.2934, 50.6635) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.98
Purply
#983FB2
ΔE00 3.39
Blueviolet
#8A2BE2
ΔE00 5.88
Royal Purple
#7851A9
ΔE00 6.24
Darkviolet
#9400D3
ΔE00 6.54
Barney
#AC1DB8
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E41BF #72BF41
analogous
#4F41BF #8E41BF #BF41B1
triadic
#8E41BF #BF8E41 #41BF8E
tetradic
#8E41BF #BF4F41 #72BF41 #41B1BF
square
#8E41BF #BF4F41 #72BF41 #41B1BF
split-complementary
#8E41BF #B1BF41 #41BF4F
monochromatic
#4A2264 #6C3192 #8E41BF #A96FCE #C49DDE
Accessibility & contrast
On white
5.74
#8E41BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#8E41BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E41BF
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E41BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E41BF | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#2D67BC
Tritanopia (blue-blind)
#875B7A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8e41bf; /* rgb */ color: rgb(142, 65, 191); /* oklch */ color: oklch(53.4% 0.194 309.4);
Tailwind
colors: {
custom: {
50: '#b37bd3',
500: '#8e41bf',
950: '#000000',
},
}SCSS
$custom: #8e41bf; $custom-light: #b37bd3; $custom-dark: #000000;
JSON
{
"hex": "#8e41bf",
"rgb": {
"r": 142,
"g": 65,
"b": 191
},
"hsl": {
"h": 276.667,
"s": 49.606,
"l": 50.196
},
"oklch": {
"l": 0.53387,
"c": 0.19352,
"h": 309.4
},
"luminance": 0.13293
}Semantic roles & 50–950 ramp
primary
#8E41BF
secondary
#A8CA92
accent
#D94F85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83