#8E50BB#8E50BB
#8E50BB is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.1% C 0.167 H 308.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8E50BB |
|---|---|
| RGB | rgb(142, 80, 187) |
| HSL | hsl(275, 44%, 52%) |
| HSV | hsv(275, 57%, 73%) |
| CMYK | cmyk(24.1%, 57.2%, 0%, 26.7%) |
| CIE-LAB | lab(45.74, 45.43, -46.51) |
| CIE-LCH | lch(45.74, 65.01, 314.33°) |
| OKLab | oklab(55.15% 0.1046 -0.1308) |
| OKLCH | oklch(55.15% 0.167 308.6) |
| XYZ | xyz(22.9919, 15.0763, 48.7029) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.00
Purply
#983FB2
ΔE00 4.47
Royal Purple
#7851A9
ΔE00 4.92
Amethyst
#9B5FC0
ΔE00 5.15
Darkorchid
#9932CC
ΔE00 5.95
Medium Purple
#9E43A2
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E50BB #7DBB50
analogous
#5850BB #8E50BB #BB50B3
triadic
#8E50BB #BB8E50 #50BB8E
tetradic
#8E50BB #BB5850 #7DBB50 #50B3BB
square
#8E50BB #BB5850 #7DBB50 #50B3BB
split-complementary
#8E50BB #B3BB50 #50BB58
monochromatic
#4D2868 #6E3A94 #8E50BB #AA7CCC #C7A8DD
Accessibility & contrast
On white
5.23
#8E50BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#8E50BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E50BB
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E50BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E50BB | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6ABE
Deuteranopia (green-blind)
#426DB8
Tritanopia (blue-blind)
#88647E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8e50bb; /* rgb */ color: rgb(142, 80, 187); /* oklch */ color: oklch(55.1% 0.167 308.6);
Tailwind
colors: {
custom: {
50: '#b284d0',
500: '#8e50bb',
950: '#000000',
},
}SCSS
$custom: #8e50bb; $custom-light: #b284d0; $custom-dark: #000000;
JSON
{
"hex": "#8e50bb",
"rgb": {
"r": 142,
"g": 80,
"b": 187
},
"hsl": {
"h": 274.766,
"s": 44.033,
"l": 52.353
},
"oklch": {
"l": 0.55149,
"c": 0.16749,
"h": 308.6
},
"luminance": 0.15076
}Semantic roles & 50–950 ramp
primary
#8E50BB
secondary
#B0CB9C
accent
#D4548A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82