#9E5DFD#9E5DFD
#9E5DFD is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.1% C 0.227 H 298.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9E5DFD |
|---|---|
| RGB | rgb(158, 93, 253) |
| HSL | hsl(264, 98%, 68%) |
| HSV | hsv(264, 63%, 99%) |
| CMYK | cmyk(37.5%, 63.2%, 0%, 0.8%) |
| CIE-LAB | lab(54.23, 58.19, -70.24) |
| CIE-LCH | lch(54.23, 91.21, 309.64°) |
| OKLab | oklab(63.06% 0.1077 -0.2) |
| OKLCH | oklch(63.06% 0.227 298.3) |
| XYZ | xyz(35.7401, 22.1892, 95.3094) |
| Luminance | 0.2219 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.97
Lightish Purple
#A552E6
ΔE00 4.52
Purpley
#8756E4
ΔE00 5.79
Light Urple
#B36FF6
ΔE00 6.04
Mediumpurple
#9370DB
ΔE00 6.59
Mediumslateblue
#7B68EE
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E5DFD #BCFD5D
analogous
#5D6CFD #9E5DFD #EE5DFD
triadic
#9E5DFD #FD9E5D #5DFD9E
tetradic
#9E5DFD #FD5D6C #BCFD5D #5DFDEE
square
#9E5DFD #FD5D6C #BCFD5D #5DFDEE
split-complementary
#9E5DFD #FDEE5D #6CFD5D
monochromatic
#5B03DD #7A21FC #9E5DFD #C299FE #E6D6FE
Accessibility & contrast
On white
3.86
#9E5DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#9E5DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E5DFD
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E5DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E5DFD | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0080FA
Tritanopia (blue-blind)
#8881A5
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #9e5dfd; /* rgb */ color: rgb(158, 93, 253); /* oklch */ color: oklch(63.1% 0.227 298.3);
Tailwind
colors: {
custom: {
50: '#c18eff',
500: '#9e5dfd',
950: '#000000',
},
}SCSS
$custom: #9e5dfd; $custom-light: #c18eff; $custom-dark: #000000;
JSON
{
"hex": "#9e5dfd",
"rgb": {
"r": 158,
"g": 93,
"b": 253
},
"hsl": {
"h": 264.375,
"s": 97.561,
"l": 67.843
},
"oklch": {
"l": 0.63061,
"c": 0.22715,
"h": 298.3
},
"luminance": 0.2219
}Semantic roles & 50–950 ramp
primary
#9E5DFD
secondary
#E0F4C2
accent
#E60088
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D18
muted
#827D86