#8E59BB#8E59BB
#8E59BB is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.153 H 307.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8E59BB |
|---|---|
| RGB | rgb(142, 89, 187) |
| HSL | hsl(272, 42%, 54%) |
| HSV | hsv(272, 52%, 73%) |
| CMYK | cmyk(24.1%, 52.4%, 0%, 26.7%) |
| CIE-LAB | lab(47.60, 40.54, -43.54) |
| CIE-LCH | lch(47.60, 59.49, 312.96°) |
| OKLab | oklab(56.52% 0.0926 -0.1222) |
| OKLCH | oklch(56.52% 0.153 307.2) |
| XYZ | xyz(23.6955, 16.4836, 48.9374) |
| Luminance | 0.1648 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.68
Amethyst
#9B5FC0
ΔE00 3.34
Royal Purple
#7851A9
ΔE00 5.43
Purply
#983FB2
ΔE00 6.52
Deep Lilac
#966EBD
ΔE00 6.69
Purpley
#8756E4
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E59BB #86BB59
analogous
#5D59BB #8E59BB #BB59B7
triadic
#8E59BB #BB8E59 #59BB8E
tetradic
#8E59BB #BB5D59 #86BB59 #59B7BB
square
#8E59BB #BB5D59 #86BB59 #59B7BB
split-complementary
#8E59BB #B7BB59 #59BB5D
monochromatic
#4F2D6D #6F3E98 #8E59BB #AC84CD #C9B0DF
Accessibility & contrast
On white
4.89
#8E59BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#8E59BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E59BB
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E59BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E59BB | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#4C71B9
Tritanopia (blue-blind)
#876A81
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8e59bb; /* rgb */ color: rgb(142, 89, 187); /* oklch */ color: oklch(56.5% 0.153 307.2);
Tailwind
colors: {
custom: {
50: '#b189d0',
500: '#8e59bb',
950: '#000000',
},
}SCSS
$custom: #8e59bb; $custom-light: #b189d0; $custom-dark: #000000;
JSON
{
"hex": "#8e59bb",
"rgb": {
"r": 142,
"g": 89,
"b": 187
},
"hsl": {
"h": 272.449,
"s": 41.88,
"l": 54.118
},
"oklch": {
"l": 0.56522,
"c": 0.15328,
"h": 307.2
},
"luminance": 0.16483
}Semantic roles & 50–950 ramp
primary
#8E59BB
secondary
#B6CDA3
accent
#D2568F
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82