#8D50E3#8D50E3
#8D50E3 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.213 H 298.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8D50E3 |
|---|---|
| RGB | rgb(141, 80, 227) |
| HSL | hsl(265, 72%, 60%) |
| HSV | hsv(265, 65%, 89%) |
| CMYK | cmyk(37.9%, 64.8%, 0%, 11%) |
| CIE-LAB | lab(48.19, 54.87, -65.54) |
| CIE-LCH | lch(48.19, 85.47, 309.94°) |
| OKLab | oklab(57.73% 0.1016 -0.1867) |
| OKLCH | oklch(57.73% 0.213 298.6) |
| XYZ | xyz(27.7148, 16.9457, 74.4688) |
| Luminance | 0.1695 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.72
Lightish Purple
#A552E6
ΔE00 4.57
Lighter Purple
#A55AF4
ΔE00 5.86
Light Indigo
#6D5ACF
ΔE00 6.62
Electric Purple
#AA23FF
ΔE00 6.63
Blueviolet
#8A2BE2
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D50E3 #A6E350
analogous
#505CE3 #8D50E3 #D750E3
triadic
#8D50E3 #E38D50 #50E38D
tetradic
#8D50E3 #E3505C #A6E350 #50E3D7
square
#8D50E3 #E3505C #A6E350 #50E3D7
split-complementary
#8D50E3 #E3D750 #5CE350
monochromatic
#51199F #6C22D4 #8D50E3 #AF85EB #D2BAF4
Accessibility & contrast
On white
4.78
#8D50E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#8D50E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D50E3
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D50E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D50E3 | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#797293
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8d50e3; /* rgb */ color: rgb(141, 80, 227); /* oklch */ color: oklch(57.7% 0.213 298.6);
Tailwind
colors: {
custom: {
50: '#b485ed',
500: '#8d50e3',
950: '#000000',
},
}SCSS
$custom: #8d50e3; $custom-light: #b485ed; $custom-dark: #000000;
JSON
{
"hex": "#8d50e3",
"rgb": {
"r": 141,
"g": 80,
"b": 227
},
"hsl": {
"h": 264.898,
"s": 72.414,
"l": 60.196
},
"oklch": {
"l": 0.57725,
"c": 0.21258,
"h": 298.6
},
"luminance": 0.16946
}Semantic roles & 50–950 ramp
primary
#8D50E3
secondary
#CCE4AB
accent
#D41183
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84