#8E50BF#8E50BF
#8E50BF is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.172 H 307.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8E50BF |
|---|---|
| RGB | rgb(142, 80, 191) |
| HSL | hsl(274, 46%, 53%) |
| HSV | hsv(274, 58%, 75%) |
| CMYK | cmyk(25.7%, 58.1%, 0%, 25.1%) |
| CIE-LAB | lab(45.97, 46.36, -48.46) |
| CIE-LCH | lch(45.97, 67.06, 313.73°) |
| OKLab | oklab(55.4% 0.1047 -0.1365) |
| OKLCH | oklch(55.4% 0.172 307.5) |
| XYZ | xyz(23.4260, 15.2500, 50.9896) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.19
Purply
#983FB2
ΔE00 4.84
Amethyst
#9B5FC0
ΔE00 5.20
Royal Purple
#7851A9
ΔE00 5.21
Darkorchid
#9932CC
ΔE00 5.74
Purpley
#8756E4
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E50BF #81BF50
analogous
#5650BF #8E50BF #BF50B8
triadic
#8E50BF #BF8E50 #50BF8E
tetradic
#8E50BF #BF5650 #81BF50 #50B8BF
square
#8E50BF #BF5650 #81BF50 #50B8BF
split-complementary
#8E50BF #B8BF50 #50BF56
monochromatic
#4E286D #6F389A #8E50BF #AB7DCF #C8AAE0
Accessibility & contrast
On white
5.19
#8E50BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#8E50BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E50BF
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E50BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E50BF | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256BC3
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#866580
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8e50bf; /* rgb */ color: rgb(142, 80, 191); /* oklch */ color: oklch(55.4% 0.172 307.5);
Tailwind
colors: {
custom: {
50: '#b284d3',
500: '#8e50bf',
950: '#000000',
},
}SCSS
$custom: #8e50bf; $custom-light: #b284d3; $custom-dark: #000000;
JSON
{
"hex": "#8e50bf",
"rgb": {
"r": 142,
"g": 80,
"b": 191
},
"hsl": {
"h": 273.514,
"s": 46.444,
"l": 53.137
},
"oklch": {
"l": 0.55398,
"c": 0.17203,
"h": 307.5
},
"luminance": 0.1525
}Semantic roles & 50–950 ramp
primary
#8E50BF
secondary
#B3CD9D
accent
#D6528C
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83