#9D50DB#9D50DB
#9D50DB is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.9% C 0.207 H 306.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9D50DB |
|---|---|
| RGB | rgb(157, 80, 219) |
| HSL | hsl(273, 66%, 59%) |
| HSV | hsv(273, 63%, 86%) |
| CMYK | cmyk(28.3%, 63.5%, 0%, 14.1%) |
| CIE-LAB | lab(49.52, 56.33, -58.76) |
| CIE-LCH | lch(49.52, 81.40, 313.79°) |
| OKLab | oklab(58.93% 0.1233 -0.1663) |
| OKLCH | oklch(58.93% 0.207 306.6) |
| XYZ | xyz(29.5568, 18.0202, 68.9253) |
| Luminance | 0.1802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.22
Purpley
#8756E4
ΔE00 4.56
Lighter Purple
#A55AF4
ΔE00 4.80
Amethyst
#9B5FC0
ΔE00 5.66
Electric Purple
#AA23FF
ΔE00 6.44
Mediumorchid
#BA55D3
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D50DB #8EDB50
analogous
#5750DB #9D50DB #DB50D4
triadic
#9D50DB #DB9D50 #50DB9D
tetradic
#9D50DB #DB5750 #8EDB50 #50D4DB
square
#9D50DB #DB5750 #8EDB50 #50D4DB
split-complementary
#9D50DB #D4DB50 #50DB57
monochromatic
#5F1E92 #7F29C5 #9D50DB #B983E5 #D6B6F0
Accessibility & contrast
On white
4.56
#9D50DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#9D50DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D50DB
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D50DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D50DB | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#3276D8
Tritanopia (blue-blind)
#936D8E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9d50db; /* rgb */ color: rgb(157, 80, 219); /* oklch */ color: oklch(58.9% 0.207 306.6);
Tailwind
colors: {
custom: {
50: '#be85e7',
500: '#9d50db',
950: '#000000',
},
}SCSS
$custom: #9d50db; $custom-light: #be85e7; $custom-dark: #000000;
JSON
{
"hex": "#9d50db",
"rgb": {
"r": 157,
"g": 80,
"b": 219
},
"hsl": {
"h": 273.237,
"s": 65.877,
"l": 58.627
},
"oklch": {
"l": 0.58927,
"c": 0.207,
"h": 306.6
},
"luminance": 0.1802
}Semantic roles & 50–950 ramp
primary
#9D50DB
secondary
#C0DFA8
accent
#E93F8B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84