#8E54BB#8E54BB
#8E54BB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.161 H 308.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8E54BB |
|---|---|
| RGB | rgb(142, 84, 187) |
| HSL | hsl(274, 43%, 53%) |
| HSV | hsv(274, 55%, 73%) |
| CMYK | cmyk(24.1%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(46.55, 43.28, -45.21) |
| CIE-LCH | lch(46.55, 62.59, 313.75°) |
| OKLab | oklab(55.75% 0.0993 -0.127) |
| OKLCH | oklch(55.75% 0.161 308) |
| XYZ | xyz(23.2935, 15.6796, 48.8034) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.98
Amethyst
#9B5FC0
ΔE00 4.29
Royal Purple
#7851A9
ΔE00 5.01
Purply
#983FB2
ΔE00 5.32
Darkorchid
#9932CC
ΔE00 6.89
Purpley
#8756E4
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E54BB #81BB54
analogous
#5A54BB #8E54BB #BB54B5
triadic
#8E54BB #BB8E54 #54BB8E
tetradic
#8E54BB #BB5A54 #81BB54 #54B5BB
square
#8E54BB #BB5A54 #81BB54 #54B5BB
split-complementary
#8E54BB #B5BB54 #54BB5A
monochromatic
#4E2A6A #6F3C96 #8E54BB #AB80CC #C8ACDE
Accessibility & contrast
On white
5.08
#8E54BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#8E54BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E54BB
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E54BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E54BB | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#87677F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8e54bb; /* rgb */ color: rgb(142, 84, 187); /* oklch */ color: oklch(55.7% 0.161 308.0);
Tailwind
colors: {
custom: {
50: '#b286d0',
500: '#8e54bb',
950: '#000000',
},
}SCSS
$custom: #8e54bb; $custom-light: #b286d0; $custom-dark: #000000;
JSON
{
"hex": "#8e54bb",
"rgb": {
"r": 142,
"g": 84,
"b": 187
},
"hsl": {
"h": 273.786,
"s": 43.096,
"l": 53.137
},
"oklch": {
"l": 0.55746,
"c": 0.16126,
"h": 308
},
"luminance": 0.15679
}Semantic roles & 50–950 ramp
primary
#8E54BB
secondary
#B3CC9F
accent
#D3558C
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82