#8E50D2#8E50D2
#8E50D2 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.6% C 0.194 H 302.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8E50D2 |
|---|---|
| RGB | rgb(142, 80, 210) |
| HSL | hsl(269, 59%, 57%) |
| HSV | hsv(269, 62%, 82%) |
| CMYK | cmyk(32.4%, 61.9%, 0%, 17.6%) |
| CIE-LAB | lab(47.16, 50.89, -57.52) |
| CIE-LCH | lch(47.16, 76.80, 311.50°) |
| OKLab | oklab(56.64% 0.1043 -0.1631) |
| OKLCH | oklch(56.64% 0.194 302.6) |
| XYZ | xyz(25.6542, 16.1412, 62.7243) |
| Luminance | 0.1614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.56
Lightish Purple
#A552E6
ΔE00 5.05
Darkorchid
#9932CC
ΔE00 5.87
Deep Lavender
#8D5EB7
ΔE00 5.95
Amethyst
#9B5FC0
ΔE00 6.28
Light Indigo
#6D5ACF
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E50D2 #94D250
analogous
#5053D2 #8E50D2 #CF50D2
triadic
#8E50D2 #D28E50 #50D28E
tetradic
#8E50D2 #D25053 #94D250 #50D2CF
square
#8E50D2 #D25053 #94D250 #50D2CF
split-complementary
#8E50D2 #D2CF50 #53D250
monochromatic
#522285 #6F2FB6 #8E50D2 #AD81DF #CDB1EB
Accessibility & contrast
On white
4.97
#8E50D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#8E50D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E50D2
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E50D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E50D2 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#286FCF
Tritanopia (blue-blind)
#816C8A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8e50d2; /* rgb */ color: rgb(142, 80, 210); /* oklch */ color: oklch(56.6% 0.194 302.6);
Tailwind
colors: {
custom: {
50: '#b384e0',
500: '#8e50d2',
950: '#000000',
},
}SCSS
$custom: #8e50d2; $custom-light: #b384e0; $custom-dark: #000000;
JSON
{
"hex": "#8e50d2",
"rgb": {
"r": 142,
"g": 80,
"b": 210
},
"hsl": {
"h": 268.615,
"s": 59.091,
"l": 56.863
},
"oklch": {
"l": 0.56641,
"c": 0.19361,
"h": 302.6
},
"luminance": 0.16141
}Semantic roles & 50–950 ramp
primary
#8E50D2
secondary
#C0D9A4
accent
#E24698
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83