#9F50DE#9F50DE
#9F50DE is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.4% C 0.211 H 306.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9F50DE |
|---|---|
| RGB | rgb(159, 80, 222) |
| HSL | hsl(273, 68%, 59%) |
| HSV | hsv(273, 64%, 87%) |
| CMYK | cmyk(28.4%, 64%, 0%, 12.9%) |
| CIE-LAB | lab(49.96, 57.45, -59.75) |
| CIE-LCH | lch(49.96, 82.89, 313.88°) |
| OKLab | oklab(59.36% 0.1257 -0.1691) |
| OKLCH | oklch(59.36% 0.211 306.6) |
| XYZ | xyz(30.3488, 18.3825, 71.0425) |
| Luminance | 0.1838 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.70
Lighter Purple
#A55AF4
ΔE00 4.33
Purpley
#8756E4
ΔE00 4.68
Amethyst
#9B5FC0
ΔE00 5.88
Electric Purple
#AA23FF
ΔE00 6.24
Mediumorchid
#BA55D3
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F50DE #8FDE50
analogous
#5850DE #9F50DE #DE50D6
triadic
#9F50DE #DE9F50 #50DE9F
tetradic
#9F50DE #DE5850 #8FDE50 #50D6DE
square
#9F50DE #DE5850 #8FDE50 #50D6DE
split-complementary
#9F50DE #D6DE50 #50DE58
monochromatic
#611C97 #8226CB #9F50DE #BB83E8 #D7B7F1
Accessibility & contrast
On white
4.49
#9F50DE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#9F50DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F50DE
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F50DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F50DE | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#3077DB
Tritanopia (blue-blind)
#956E90
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9f50de; /* rgb */ color: rgb(159, 80, 222); /* oklch */ color: oklch(59.4% 0.211 306.6);
Tailwind
colors: {
custom: {
50: '#c086e9',
500: '#9f50de',
950: '#000000',
},
}SCSS
$custom: #9f50de; $custom-light: #c086e9; $custom-dark: #000000;
JSON
{
"hex": "#9f50de",
"rgb": {
"r": 159,
"g": 80,
"b": 222
},
"hsl": {
"h": 273.38,
"s": 68.269,
"l": 59.216
},
"oklch": {
"l": 0.59356,
"c": 0.21071,
"h": 306.6
},
"luminance": 0.18382
}Semantic roles & 50–950 ramp
primary
#9F50DE
secondary
#C2E1A9
accent
#EB3D8A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84