#9C5FEF#9C5FEF
#9C5FEF is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.2% C 0.208 H 299.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9C5FEF |
|---|---|
| RGB | rgb(156, 95, 239) |
| HSL | hsl(265, 82%, 65%) |
| HSV | hsv(265, 60%, 94%) |
| CMYK | cmyk(34.7%, 60.3%, 0%, 6.3%) |
| CIE-LAB | lab(53.48, 53.30, -63.67) |
| CIE-LCH | lch(53.48, 83.03, 309.93°) |
| OKLab | oklab(62.18% 0.1038 -0.1808) |
| OKLCH | oklch(62.18% 0.208 299.9) |
| XYZ | xyz(33.3787, 21.4841, 84.0329) |
| Luminance | 0.2148 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.77
Lightish Purple
#A552E6
ΔE00 3.60
Purpley
#8756E4
ΔE00 4.95
Mediumpurple
#9370DB
ΔE00 5.34
Light Urple
#B36FF6
ΔE00 5.97
Mediumslateblue
#7B68EE
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C5FEF #B2EF5F
analogous
#5F6AEF #9C5FEF #E45FEF
triadic
#9C5FEF #EF9C5F #5FEF9C
tetradic
#9C5FEF #EF5F6A #B2EF5F #5FEFE4
square
#9C5FEF #EF5F6A #B2EF5F #5FEFE4
split-complementary
#9C5FEF #EFE45F #6AEF5F
monochromatic
#5D13C0 #7A27E9 #9C5FEF #BE97F5 #E1CEFA
Accessibility & contrast
On white
3.96
#9C5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#9C5FEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C5FEF
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C5FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C5FEF | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#2B7FEC
Tritanopia (blue-blind)
#8A7E9E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #9c5fef; /* rgb */ color: rgb(156, 95, 239); /* oklch */ color: oklch(62.2% 0.208 299.9);
Tailwind
colors: {
custom: {
50: '#be8ff5',
500: '#9c5fef',
950: '#000000',
},
}SCSS
$custom: #9c5fef; $custom-light: #be8ff5; $custom-dark: #000000;
JSON
{
"hex": "#9c5fef",
"rgb": {
"r": 156,
"g": 95,
"b": 239
},
"hsl": {
"h": 265.417,
"s": 81.818,
"l": 65.49
},
"oklch": {
"l": 0.62176,
"c": 0.20844,
"h": 299.9
},
"luminance": 0.21484
}Semantic roles & 50–950 ramp
primary
#9C5FEF
secondary
#D9EDBD
accent
#DE0783
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85