#9C5FE5#9C5FE5
#9C5FE5 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.5% C 0.197 H 301.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9C5FE5 |
|---|---|
| RGB | rgb(156, 95, 229) |
| HSL | hsl(267, 72%, 64%) |
| HSV | hsv(267, 59%, 90%) |
| CMYK | cmyk(31.9%, 58.5%, 0%, 10.2%) |
| CIE-LAB | lab(52.85, 50.86, -59.07) |
| CIE-LCH | lch(52.85, 77.94, 310.73°) |
| OKLab | oklab(61.52% 0.1041 -0.1672) |
| OKLCH | oklch(61.52% 0.197 301.9) |
| XYZ | xyz(31.9421, 20.9094, 76.4667) |
| Luminance | 0.2091 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.46
Lightish Purple
#A552E6
ΔE00 3.06
Purpley
#8756E4
ΔE00 4.80
Mediumpurple
#9370DB
ΔE00 4.96
Amethyst
#9B5FC0
ΔE00 6.17
Light Urple
#B36FF6
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C5FE5 #A8E55F
analogous
#5F65E5 #9C5FE5 #DF5FE5
triadic
#9C5FE5 #E59C5F #5FE59C
tetradic
#9C5FE5 #E55F65 #A8E55F #5FE5DF
square
#9C5FE5 #E55F65 #A8E55F #5FE5DF
split-complementary
#9C5FE5 #E5DF5F #65E55F
monochromatic
#5E1CAD #7B2ADC #9C5FE5 #BD94EE #DDC8F6
Accessibility & contrast
On white
4.05
#9C5FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#9C5FE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C5FE5
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C5FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C5FE5 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A7DE9
Deuteranopia (green-blind)
#3A7EE2
Tritanopia (blue-blind)
#8E7A99
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9c5fe5; /* rgb */ color: rgb(156, 95, 229); /* oklch */ color: oklch(61.5% 0.197 301.9);
Tailwind
colors: {
custom: {
50: '#bd8fee',
500: '#9c5fe5',
950: '#000000',
},
}SCSS
$custom: #9c5fe5; $custom-light: #bd8fee; $custom-dark: #000000;
JSON
{
"hex": "#9c5fe5",
"rgb": {
"r": 156,
"g": 95,
"b": 229
},
"hsl": {
"h": 267.313,
"s": 72.043,
"l": 63.529
},
"oklch": {
"l": 0.6152,
"c": 0.19697,
"h": 301.9
},
"luminance": 0.20909
}Semantic roles & 50–950 ramp
primary
#9C5FE5
secondary
#D2E8B8
accent
#D4117B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120D16
muted
#817D84