#9C5EF1#9C5EF1
#9C5EF1 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.2% C 0.212 H 299.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9C5EF1 |
|---|---|
| RGB | rgb(156, 94, 241) |
| HSL | hsl(265, 84%, 66%) |
| HSV | hsv(265, 61%, 95%) |
| CMYK | cmyk(35.3%, 61%, 0%, 5.5%) |
| CIE-LAB | lab(53.41, 54.31, -64.89) |
| CIE-LCH | lch(53.41, 84.62, 309.93°) |
| OKLab | oklab(62.17% 0.1048 -0.1844) |
| OKLCH | oklch(62.17% 0.212 299.6) |
| XYZ | xyz(33.5863, 21.4239, 85.5678) |
| Luminance | 0.2142 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.66
Lightish Purple
#A552E6
ΔE00 3.58
Purpley
#8756E4
ΔE00 4.89
Mediumpurple
#9370DB
ΔE00 5.63
Light Urple
#B36FF6
ΔE00 6.12
Mediumslateblue
#7B68EE
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C5EF1 #B3F15E
analogous
#5E69F1 #9C5EF1 #E55EF1
triadic
#9C5EF1 #F19C5E #5EF19C
tetradic
#9C5EF1 #F15E69 #B3F15E #5EF1E5
square
#9C5EF1 #F15E69 #B3F15E #5EF1E5
split-complementary
#9C5EF1 #F1E55E #69F15E
monochromatic
#5C11C4 #7926EC #9C5EF1 #BF96F6 #E1CFFB
Accessibility & contrast
On white
3.97
#9C5EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#9C5EF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C5EF1
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C5EF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C5EF1 | 1.00 | 3.97 | 5.28 | 5.28 |
| #FFFFFF | 3.97 | 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)
#007FF6
Deuteranopia (green-blind)
#247EEE
Tritanopia (blue-blind)
#897E9F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #9c5ef1; /* rgb */ color: rgb(156, 94, 241); /* oklch */ color: oklch(62.2% 0.212 299.6);
Tailwind
colors: {
custom: {
50: '#be8ef6',
500: '#9c5ef1',
950: '#000000',
},
}SCSS
$custom: #9c5ef1; $custom-light: #be8ef6; $custom-dark: #000000;
JSON
{
"hex": "#9c5ef1",
"rgb": {
"r": 156,
"g": 94,
"b": 241
},
"hsl": {
"h": 265.306,
"s": 84,
"l": 65.686
},
"oklch": {
"l": 0.62169,
"c": 0.21208,
"h": 299.6
},
"luminance": 0.21424
}Semantic roles & 50–950 ramp
primary
#9C5EF1
secondary
#D9EEBD
accent
#E00584
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85