#8E50BC#8E50BC
#8E50BC is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.169 H 308.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8E50BC |
|---|---|
| RGB | rgb(142, 80, 188) |
| HSL | hsl(274, 45%, 53%) |
| HSV | hsv(274, 57%, 74%) |
| CMYK | cmyk(24.5%, 57.4%, 0%, 26.3%) |
| CIE-LAB | lab(45.80, 45.66, -47.00) |
| CIE-LCH | lch(45.80, 65.52, 314.17°) |
| OKLab | oklab(55.21% 0.1046 -0.1322) |
| OKLCH | oklch(55.21% 0.169 308.3) |
| XYZ | xyz(23.0993, 15.1193, 49.2686) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.04
Purply
#983FB2
ΔE00 4.56
Royal Purple
#7851A9
ΔE00 4.98
Amethyst
#9B5FC0
ΔE00 5.15
Darkorchid
#9932CC
ΔE00 5.89
Purpley
#8756E4
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E50BC #7EBC50
analogous
#5850BC #8E50BC #BC50B4
triadic
#8E50BC #BC8E50 #50BC8E
tetradic
#8E50BC #BC5850 #7EBC50 #50B4BC
square
#8E50BC #BC5850 #7EBC50 #50B4BC
split-complementary
#8E50BC #B4BC50 #50BC58
monochromatic
#4E2869 #6E3996 #8E50BC #AB7CCD #C7A9DE
Accessibility & contrast
On white
5.22
#8E50BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#8E50BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E50BC
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E50BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E50BC | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#296AC0
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#87647E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8e50bc; /* rgb */ color: rgb(142, 80, 188); /* oklch */ color: oklch(55.2% 0.169 308.3);
Tailwind
colors: {
custom: {
50: '#b284d1',
500: '#8e50bc',
950: '#000000',
},
}SCSS
$custom: #8e50bc; $custom-light: #b284d1; $custom-dark: #000000;
JSON
{
"hex": "#8e50bc",
"rgb": {
"r": 142,
"g": 80,
"b": 188
},
"hsl": {
"h": 274.444,
"s": 44.628,
"l": 52.549
},
"oklch": {
"l": 0.55211,
"c": 0.16862,
"h": 308.3
},
"luminance": 0.15119
}Semantic roles & 50–950 ramp
primary
#8E50BC
secondary
#B0CB9C
accent
#D4538A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82