#9C5FE6#9C5FE6
#9C5FE6 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.6% C 0.198 H 301.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9C5FE6 |
|---|---|
| RGB | rgb(156, 95, 230) |
| HSL | hsl(267, 73%, 64%) |
| HSV | hsv(267, 59%, 90%) |
| CMYK | cmyk(32.2%, 58.7%, 0%, 9.8%) |
| CIE-LAB | lab(52.91, 51.10, -59.53) |
| CIE-LCH | lch(52.91, 78.45, 310.64°) |
| OKLab | oklab(61.59% 0.104 -0.1686) |
| OKLCH | oklch(61.59% 0.198 301.7) |
| XYZ | xyz(32.0821, 20.9654, 77.2041) |
| Luminance | 0.2097 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.35
Lightish Purple
#A552E6
ΔE00 3.09
Purpley
#8756E4
ΔE00 4.79
Mediumpurple
#9370DB
ΔE00 4.98
Light Urple
#B36FF6
ΔE00 6.24
Amethyst
#9B5FC0
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C5FE6 #A9E65F
analogous
#5F65E6 #9C5FE6 #DF5FE6
triadic
#9C5FE6 #E69C5F #5FE69C
tetradic
#9C5FE6 #E65F65 #A9E65F #5FE6DF
square
#9C5FE6 #E65F65 #A9E65F #5FE6DF
split-complementary
#9C5FE6 #E6DF5F #65E65F
monochromatic
#5E1BAF #7B2ADE #9C5FE6 #BD94EE #DDC9F7
Accessibility & contrast
On white
4.04
#9C5FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#9C5FE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C5FE6
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C5FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C5FE6 | 1.00 | 4.04 | 5.19 | 5.19 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#187DEA
Deuteranopia (green-blind)
#387EE3
Tritanopia (blue-blind)
#8D7B9A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9c5fe6; /* rgb */ color: rgb(156, 95, 230); /* oklch */ color: oklch(61.6% 0.198 301.7);
Tailwind
colors: {
custom: {
50: '#bd8fef',
500: '#9c5fe6',
950: '#000000',
},
}SCSS
$custom: #9c5fe6; $custom-light: #bd8fef; $custom-dark: #000000;
JSON
{
"hex": "#9c5fe6",
"rgb": {
"r": 156,
"g": 95,
"b": 230
},
"hsl": {
"h": 267.111,
"s": 72.973,
"l": 63.725
},
"oklch": {
"l": 0.61585,
"c": 0.19813,
"h": 301.7
},
"luminance": 0.20966
}Semantic roles & 50–950 ramp
primary
#9C5FE6
secondary
#D3E8B9
accent
#D5107C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120D16
muted
#817D84