#9E5CF7#9E5CF7
#9E5CF7 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.5% C 0.222 H 299.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9E5CF7 |
|---|---|
| RGB | rgb(158, 92, 247) |
| HSL | hsl(266, 91%, 66%) |
| HSV | hsv(266, 63%, 97%) |
| CMYK | cmyk(36%, 62.8%, 0%, 3.1%) |
| CIE-LAB | lab(53.64, 57.22, -67.85) |
| CIE-LCH | lch(53.64, 88.76, 310.14°) |
| OKLab | oklab(62.51% 0.1092 -0.193) |
| OKLCH | oklch(62.51% 0.222 299.5) |
| XYZ | xyz(34.7121, 21.6384, 90.3255) |
| Luminance | 0.2164 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.39
Lightish Purple
#A552E6
ΔE00 3.72
Purpley
#8756E4
ΔE00 5.25
Light Urple
#B36FF6
ΔE00 6.16
Mediumpurple
#9370DB
ΔE00 6.35
Mediumslateblue
#7B68EE
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E5CF7 #B5F75C
analogous
#5C68F7 #9E5CF7 #EB5CF7
triadic
#9E5CF7 #F79E5C #5CF79E
tetradic
#9E5CF7 #F75C68 #B5F75C #5CF7EB
square
#9E5CF7 #F75C68 #B5F75C #5CF7EB
split-complementary
#9E5CF7 #F7EB5C #68F75C
monochromatic
#5E0ACE #7B22F4 #9E5CF7 #C196FA #E3D1FD
Accessibility & contrast
On white
3.94
#9E5CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#9E5CF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E5CF7
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E5CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E5CF7 | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#117FF4
Tritanopia (blue-blind)
#8A7EA1
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #9e5cf7; /* rgb */ color: rgb(158, 92, 247); /* oklch */ color: oklch(62.5% 0.222 299.5);
Tailwind
colors: {
custom: {
50: '#c08dfb',
500: '#9e5cf7',
950: '#000000',
},
}SCSS
$custom: #9e5cf7; $custom-light: #c08dfb; $custom-dark: #000000;
JSON
{
"hex": "#9e5cf7",
"rgb": {
"r": 158,
"g": 92,
"b": 247
},
"hsl": {
"h": 265.548,
"s": 90.643,
"l": 66.471
},
"oklch": {
"l": 0.6251,
"c": 0.22177,
"h": 299.5
},
"luminance": 0.21639
}Semantic roles & 50–950 ramp
primary
#9E5CF7
secondary
#DBF1BE
accent
#E60084
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85