#9E5EF7#9E5EF7
#9E5EF7 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.8% C 0.219 H 299.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9E5EF7 |
|---|---|
| RGB | rgb(158, 94, 247) |
| HSL | hsl(265, 91%, 67%) |
| HSV | hsv(265, 62%, 97%) |
| CMYK | cmyk(36%, 61.9%, 0%, 3.1%) |
| CIE-LAB | lab(54.02, 56.21, -67.25) |
| CIE-LCH | lch(54.02, 87.64, 309.89°) |
| OKLab | oklab(62.78% 0.107 -0.1912) |
| OKLCH | oklch(62.78% 0.219 299.2) |
| XYZ | xyz(34.8876, 21.9895, 90.3840) |
| Luminance | 0.2199 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.55
Lightish Purple
#A552E6
ΔE00 4.03
Purpley
#8756E4
ΔE00 5.50
Light Urple
#B36FF6
ΔE00 5.81
Mediumpurple
#9370DB
ΔE00 6.03
Mediumslateblue
#7B68EE
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E5EF7 #B7F75E
analogous
#5E6BF7 #9E5EF7 #EB5EF7
triadic
#9E5EF7 #F79E5E #5EF79E
tetradic
#9E5EF7 #F75E6B #B7F75E #5EF7EB
square
#9E5EF7 #F75E6B #B7F75E #5EF7EB
split-complementary
#9E5EF7 #F7EB5E #6BF75E
monochromatic
#5D0AD0 #7B24F4 #9E5EF7 #C198FA #E4D3FD
Accessibility & contrast
On white
3.89
#9E5EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#9E5EF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E5EF7
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E5EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E5EF7 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#1980F4
Tritanopia (blue-blind)
#8A80A2
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9e5ef7; /* rgb */ color: rgb(158, 94, 247); /* oklch */ color: oklch(62.8% 0.219 299.2);
Tailwind
colors: {
custom: {
50: '#c08ffb',
500: '#9e5ef7',
950: '#000000',
},
}SCSS
$custom: #9e5ef7; $custom-light: #c08ffb; $custom-dark: #000000;
JSON
{
"hex": "#9e5ef7",
"rgb": {
"r": 158,
"g": 94,
"b": 247
},
"hsl": {
"h": 265.098,
"s": 90.533,
"l": 66.863
},
"oklch": {
"l": 0.62782,
"c": 0.21915,
"h": 299.2
},
"luminance": 0.2199
}Semantic roles & 50–950 ramp
primary
#9E5EF7
secondary
#DCF1C0
accent
#E60086
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85