#9E5CF1#9E5CF1
#9E5CF1 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.1% C 0.215 H 300.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9E5CF1 |
|---|---|
| RGB | rgb(158, 92, 241) |
| HSL | hsl(267, 84%, 65%) |
| HSV | hsv(267, 62%, 95%) |
| CMYK | cmyk(34.4%, 61.8%, 0%, 5.5%) |
| CIE-LAB | lab(53.25, 55.76, -65.14) |
| CIE-LCH | lch(53.25, 85.75, 310.56°) |
| OKLab | oklab(62.1% 0.1097 -0.185) |
| OKLCH | oklch(62.1% 0.215 300.7) |
| XYZ | xyz(33.8011, 21.2740, 85.5276) |
| Luminance | 0.2127 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.23
Lightish Purple
#A552E6
ΔE00 3.10
Purpley
#8756E4
ΔE00 4.93
Mediumpurple
#9370DB
ΔE00 6.04
Light Urple
#B36FF6
ΔE00 6.21
Mediumslateblue
#7B68EE
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E5CF1 #AFF15C
analogous
#5C64F1 #9E5CF1 #E85CF1
triadic
#9E5CF1 #F19E5C #5CF19E
tetradic
#9E5CF1 #F15C64 #AFF15C #5CF1E8
square
#9E5CF1 #F15C64 #AFF15C #5CF1E8
split-complementary
#9E5CF1 #F1E85C #64F15C
monochromatic
#5F11C2 #7C24EC #9E5CF1 #C094F6 #E1CDFB
Accessibility & contrast
On white
4.00
#9E5CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#9E5CF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E5CF1
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E5CF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E5CF1 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#237EEE
Tritanopia (blue-blind)
#8C7C9E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9e5cf1; /* rgb */ color: rgb(158, 92, 241); /* oklch */ color: oklch(62.1% 0.215 300.7);
Tailwind
colors: {
custom: {
50: '#c08df6',
500: '#9e5cf1',
950: '#000000',
},
}SCSS
$custom: #9e5cf1; $custom-light: #c08df6; $custom-dark: #000000;
JSON
{
"hex": "#9e5cf1",
"rgb": {
"r": 158,
"g": 92,
"b": 241
},
"hsl": {
"h": 266.577,
"s": 84.181,
"l": 65.294
},
"oklch": {
"l": 0.62101,
"c": 0.21508,
"h": 300.7
},
"luminance": 0.21274
}Semantic roles & 50–950 ramp
primary
#9E5CF1
secondary
#D7EEBB
accent
#E1057F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85