#8E44BB#8E44BB
#8E44BB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.185 H 310.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8E44BB |
|---|---|
| RGB | rgb(142, 68, 187) |
| HSL | hsl(277, 47%, 50%) |
| HSV | hsv(277, 64%, 73%) |
| CMYK | cmyk(24.1%, 63.6%, 0%, 26.7%) |
| CIE-LAB | lab(43.47, 51.55, -50.14) |
| CIE-LCH | lch(43.47, 71.92, 315.79°) |
| OKLab | oklab(53.5% 0.1196 -0.1414) |
| OKLCH | oklch(53.5% 0.185 310.2) |
| XYZ | xyz(22.1904, 13.4733, 48.4357) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.93
Darkorchid
#9932CC
ΔE00 3.70
Royal Purple
#7851A9
ΔE00 5.70
Medium Purple
#9E43A2
ΔE00 6.54
Barney
#AC1DB8
ΔE00 6.66
Blueviolet
#8A2BE2
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E44BB #71BB44
analogous
#5244BB #8E44BB #BB44AD
triadic
#8E44BB #BB8E44 #44BB8E
tetradic
#8E44BB #BB5244 #71BB44 #44ADBB
square
#8E44BB #BB5244 #71BB44 #44ADBB
split-complementary
#8E44BB #ADBB44 #44BB52
monochromatic
#4A2361 #6C348E #8E44BB #A971CB #C49EDC
Accessibility & contrast
On white
5.68
#8E44BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#8E44BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E44BB
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E44BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E44BB | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0163BF
Deuteranopia (green-blind)
#3568B8
Tritanopia (blue-blind)
#885C79
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8e44bb; /* rgb */ color: rgb(142, 68, 187); /* oklch */ color: oklch(53.5% 0.185 310.2);
Tailwind
colors: {
custom: {
50: '#b37cd0',
500: '#8e44bb',
950: '#000000',
},
}SCSS
$custom: #8e44bb; $custom-light: #b37cd0; $custom-dark: #000000;
JSON
{
"hex": "#8e44bb",
"rgb": {
"r": 142,
"g": 68,
"b": 187
},
"hsl": {
"h": 277.311,
"s": 46.667,
"l": 50
},
"oklch": {
"l": 0.53497,
"c": 0.18522,
"h": 310.2
},
"luminance": 0.13473
}Semantic roles & 50–950 ramp
primary
#8E44BB
secondary
#A7C893
accent
#D65184
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82