#9C5CF1#9C5CF1
#9C5CF1 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.215 H 299.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9C5CF1 |
|---|---|
| RGB | rgb(156, 92, 241) |
| HSL | hsl(266, 84%, 65%) |
| HSV | hsv(266, 62%, 95%) |
| CMYK | cmyk(35.3%, 61.8%, 0%, 5.5%) |
| CIE-LAB | lab(53.03, 55.33, -65.51) |
| CIE-LCH | lch(53.03, 85.75, 310.19°) |
| OKLab | oklab(61.89% 0.1071 -0.1862) |
| OKLCH | oklch(61.89% 0.215 299.9) |
| XYZ | xyz(33.4108, 21.0728, 85.5093) |
| Luminance | 0.2107 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.57
Lightish Purple
#A552E6
ΔE00 3.25
Purpley
#8756E4
ΔE00 4.62
Mediumpurple
#9370DB
ΔE00 6.00
Light Urple
#B36FF6
ΔE00 6.47
Mediumslateblue
#7B68EE
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C5CF1 #B1F15C
analogous
#5C66F1 #9C5CF1 #E75CF1
triadic
#9C5CF1 #F19C5C #5CF19C
tetradic
#9C5CF1 #F15C66 #B1F15C #5CF1E7
square
#9C5CF1 #F15C66 #B1F15C #5CF1E7
split-complementary
#9C5CF1 #F1E75C #66F15C
monochromatic
#5D11C2 #7A24EC #9C5CF1 #BE94F6 #E0CDFB
Accessibility & contrast
On white
4.03
#9C5CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#9C5CF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C5CF1
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C5CF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C5CF1 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#1F7DEE
Tritanopia (blue-blind)
#897D9E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9c5cf1; /* rgb */ color: rgb(156, 92, 241); /* oklch */ color: oklch(61.9% 0.215 299.9);
Tailwind
colors: {
custom: {
50: '#be8df6',
500: '#9c5cf1',
950: '#000000',
},
}SCSS
$custom: #9c5cf1; $custom-light: #be8df6; $custom-dark: #000000;
JSON
{
"hex": "#9c5cf1",
"rgb": {
"r": 156,
"g": 92,
"b": 241
},
"hsl": {
"h": 265.772,
"s": 84.181,
"l": 65.294
},
"oklch": {
"l": 0.61893,
"c": 0.21476,
"h": 299.9
},
"luminance": 0.21073
}Semantic roles & 50–950 ramp
primary
#9C5CF1
secondary
#D8EEBB
accent
#E10582
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85