#9E5DF7#9E5DF7
#9E5DF7 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.6% C 0.220 H 299.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9E5DF7 |
|---|---|
| RGB | rgb(158, 93, 247) |
| HSL | hsl(265, 91%, 67%) |
| HSV | hsv(265, 62%, 97%) |
| CMYK | cmyk(36%, 62.3%, 0%, 3.1%) |
| CIE-LAB | lab(53.83, 56.71, -67.55) |
| CIE-LCH | lch(53.83, 88.20, 310.02°) |
| OKLab | oklab(62.65% 0.1081 -0.1921) |
| OKLCH | oklch(62.65% 0.22 299.4) |
| XYZ | xyz(34.7993, 21.8128, 90.3546) |
| Luminance | 0.2181 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.45
Lightish Purple
#A552E6
ΔE00 3.87
Purpley
#8756E4
ΔE00 5.37
Light Urple
#B36FF6
ΔE00 5.99
Mediumpurple
#9370DB
ΔE00 6.19
Mediumslateblue
#7B68EE
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E5DF7 #B6F75D
analogous
#5D69F7 #9E5DF7 #EB5DF7
triadic
#9E5DF7 #F79E5D #5DF79E
tetradic
#9E5DF7 #F75D69 #B6F75D #5DF7EB
square
#9E5DF7 #F75D69 #B6F75D #5DF7EB
split-complementary
#9E5DF7 #F7EB5D #69F75D
monochromatic
#5D0ACF #7B23F4 #9E5DF7 #C197FA #E4D2FD
Accessibility & contrast
On white
3.92
#9E5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#9E5DF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E5DF7
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E5DF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E5DF7 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#167FF4
Tritanopia (blue-blind)
#8A7FA2
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9e5df7; /* rgb */ color: rgb(158, 93, 247); /* oklch */ color: oklch(62.6% 0.220 299.4);
Tailwind
colors: {
custom: {
50: '#c08efb',
500: '#9e5df7',
950: '#000000',
},
}SCSS
$custom: #9e5df7; $custom-light: #c08efb; $custom-dark: #000000;
JSON
{
"hex": "#9e5df7",
"rgb": {
"r": 158,
"g": 93,
"b": 247
},
"hsl": {
"h": 265.325,
"s": 90.588,
"l": 66.667
},
"oklch": {
"l": 0.62646,
"c": 0.22046,
"h": 299.4
},
"luminance": 0.21813
}Semantic roles & 50–950 ramp
primary
#9E5DF7
secondary
#DCF1BF
accent
#E60085
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85