#9E5DF0#9E5DF0
#9E5DF0 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.2% C 0.213 H 300.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9E5DF0 |
|---|---|
| RGB | rgb(158, 93, 240) |
| HSL | hsl(267, 83%, 65%) |
| HSV | hsv(267, 61%, 94%) |
| CMYK | cmyk(34.2%, 61.2%, 0%, 5.9%) |
| CIE-LAB | lab(53.37, 55.01, -64.38) |
| CIE-LCH | lch(53.37, 84.68, 310.51°) |
| OKLab | oklab(62.17% 0.1086 -0.1828) |
| OKLCH | oklch(62.17% 0.213 300.7) |
| XYZ | xyz(33.7393, 21.3889, 84.7721) |
| Luminance | 0.2139 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.30
Lightish Purple
#A552E6
ΔE00 3.18
Purpley
#8756E4
ΔE00 5.01
Mediumpurple
#9370DB
ΔE00 5.81
Light Urple
#B36FF6
ΔE00 6.04
Mediumslateblue
#7B68EE
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E5DF0 #AFF05D
analogous
#5D65F0 #9E5DF0 #E85DF0
triadic
#9E5DF0 #F09E5D #5DF09E
tetradic
#9E5DF0 #F05D65 #AFF05D #5DF0E8
square
#9E5DF0 #F05D65 #AFF05D #5DF0E8
split-complementary
#9E5DF0 #F0E85D #65F05D
monochromatic
#5F12C1 #7C25EB #9E5DF0 #C095F5 #E1CDFA
Accessibility & contrast
On white
3.98
#9E5DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#9E5DF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E5DF0
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E5DF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E5DF0 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#287FED
Tritanopia (blue-blind)
#8D7D9E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9e5df0; /* rgb */ color: rgb(158, 93, 240); /* oklch */ color: oklch(62.2% 0.213 300.7);
Tailwind
colors: {
custom: {
50: '#c08ef6',
500: '#9e5df0',
950: '#000000',
},
}SCSS
$custom: #9e5df0; $custom-light: #c08ef6; $custom-dark: #000000;
JSON
{
"hex": "#9e5df0",
"rgb": {
"r": 158,
"g": 93,
"b": 240
},
"hsl": {
"h": 266.531,
"s": 83.051,
"l": 65.294
},
"oklch": {
"l": 0.62171,
"c": 0.21262,
"h": 300.7
},
"luminance": 0.21389
}Semantic roles & 50–950 ramp
primary
#9E5DF0
secondary
#D7EDBC
accent
#DF067F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85