#8E5ABC#8E5ABC
#8E5ABC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.153 H 306.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8E5ABC |
|---|---|
| RGB | rgb(142, 90, 188) |
| HSL | hsl(272, 42%, 55%) |
| HSV | hsv(272, 52%, 74%) |
| CMYK | cmyk(24.5%, 52.1%, 0%, 26.3%) |
| CIE-LAB | lab(47.87, 40.22, -43.69) |
| CIE-LCH | lch(47.87, 59.38, 312.63°) |
| OKLab | oklab(56.74% 0.0913 -0.1226) |
| OKLCH | oklch(56.74% 0.153 306.7) |
| XYZ | xyz(23.8867, 16.6942, 49.5311) |
| Luminance | 0.1669 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.54
Amethyst
#9B5FC0
ΔE00 3.19
Royal Purple
#7851A9
ΔE00 5.62
Deep Lilac
#966EBD
ΔE00 6.43
Purply
#983FB2
ΔE00 6.83
Purpley
#8756E4
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E5ABC #88BC5A
analogous
#5D5ABC #8E5ABC #BC5AB9
triadic
#8E5ABC #BC8E5A #5ABC8E
tetradic
#8E5ABC #BC5D5A #88BC5A #5AB9BC
square
#8E5ABC #BC5D5A #88BC5A #5AB9BC
split-complementary
#8E5ABC #B9BC5A #5ABC5D
monochromatic
#502D6F #6F3F9A #8E5ABC #AC86CE #CAB1DF
Accessibility & contrast
On white
4.84
#8E5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#8E5ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E5ABC
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E5ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E5ABC | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C70BF
Deuteranopia (green-blind)
#4C72BA
Tritanopia (blue-blind)
#876B82
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8e5abc; /* rgb */ color: rgb(142, 90, 188); /* oklch */ color: oklch(56.7% 0.153 306.7);
Tailwind
colors: {
custom: {
50: '#b18ad0',
500: '#8e5abc',
950: '#000000',
},
}SCSS
$custom: #8e5abc; $custom-light: #b18ad0; $custom-dark: #000000;
JSON
{
"hex": "#8e5abc",
"rgb": {
"r": 142,
"g": 90,
"b": 188
},
"hsl": {
"h": 271.837,
"s": 42.241,
"l": 54.51
},
"oklch": {
"l": 0.56739,
"c": 0.15287,
"h": 306.7
},
"luminance": 0.16694
}Semantic roles & 50–950 ramp
primary
#8E5ABC
secondary
#B8CEA4
accent
#D25690
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82