#9D50E1#9D50E1
#9D50E1 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.213 H 305.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9D50E1 |
|---|---|
| RGB | rgb(157, 80, 225) |
| HSL | hsl(272, 71%, 60%) |
| HSV | hsv(272, 64%, 88%) |
| CMYK | cmyk(30.2%, 64.4%, 0%, 11.8%) |
| CIE-LAB | lab(49.91, 57.71, -61.54) |
| CIE-LCH | lch(49.91, 84.36, 313.16°) |
| OKLab | oklab(59.33% 0.1229 -0.1744) |
| OKLCH | oklch(59.33% 0.213 305.2) |
| XYZ | xyz(30.3609, 18.3419, 73.1604) |
| Luminance | 0.1834 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.77
Lighter Purple
#A55AF4
ΔE00 4.13
Purpley
#8756E4
ΔE00 4.16
Electric Purple
#AA23FF
ΔE00 6.03
Amethyst
#9B5FC0
ΔE00 6.32
Neon Purple
#BC13FE
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D50E1 #94E150
analogous
#5450E1 #9D50E1 #E150DD
triadic
#9D50E1 #E19D50 #50E19D
tetradic
#9D50E1 #E15450 #94E150 #50DDE1
square
#9D50E1 #E15450 #94E150 #50DDE1
split-complementary
#9D50E1 #DDE150 #50E154
monochromatic
#5F1B9C #7F24D0 #9D50E1 #BA84EA #D8B8F3
Accessibility & contrast
On white
4.50
#9D50E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#9D50E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D50E1
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D50E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D50E1 | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#2877DE
Tritanopia (blue-blind)
#916F92
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9d50e1; /* rgb */ color: rgb(157, 80, 225); /* oklch */ color: oklch(59.3% 0.213 305.2);
Tailwind
colors: {
custom: {
50: '#be86eb',
500: '#9d50e1',
950: '#000000',
},
}SCSS
$custom: #9d50e1; $custom-light: #be86eb; $custom-dark: #000000;
JSON
{
"hex": "#9d50e1",
"rgb": {
"r": 157,
"g": 80,
"b": 225
},
"hsl": {
"h": 271.862,
"s": 70.732,
"l": 59.804
},
"oklch": {
"l": 0.5933,
"c": 0.21338,
"h": 305.2
},
"luminance": 0.18342
}Semantic roles & 50–950 ramp
primary
#9D50E1
secondary
#C5E2AA
accent
#ED3A8E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84