#9C5CD2#9C5CD2
#9C5CD2 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.9% C 0.180 H 306.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9C5CD2 |
|---|---|
| RGB | rgb(156, 92, 210) |
| HSL | hsl(273, 57%, 59%) |
| HSV | hsv(273, 56%, 82%) |
| CMYK | cmyk(25.7%, 56.2%, 0%, 17.6%) |
| CIE-LAB | lab(51.12, 47.93, -51.07) |
| CIE-LCH | lch(51.12, 70.04, 313.18°) |
| OKLab | oklab(59.89% 0.1076 -0.1438) |
| OKLCH | oklch(59.89% 0.18 306.8) |
| XYZ | xyz(29.1679, 19.3757, 63.1636) |
| Luminance | 0.1938 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.25
Lightish Purple
#A552E6
ΔE00 3.51
Deep Lavender
#8D5EB7
ΔE00 4.99
Lighter Purple
#A55AF4
ΔE00 5.00
Purpley
#8756E4
ΔE00 5.61
Mediumorchid
#BA55D3
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C5CD2 #92D25C
analogous
#615CD2 #9C5CD2 #D25CCD
triadic
#9C5CD2 #D29C5C #5CD29C
tetradic
#9C5CD2 #D2615C #92D25C #5CCDD2
square
#9C5CD2 #D2615C #92D25C #5CCDD2
split-complementary
#9C5CD2 #CDD25C #5CD261
monochromatic
#5E278D #7E34BD #9C5CD2 #B98CDF #D6BCEC
Accessibility & contrast
On white
4.31
#9C5CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#9C5CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C5CD2
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C5CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C5CD2 | 1.00 | 4.31 | 4.88 | 4.88 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3178D6
Deuteranopia (green-blind)
#497ACF
Tritanopia (blue-blind)
#94728E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #9c5cd2; /* rgb */ color: rgb(156, 92, 210); /* oklch */ color: oklch(59.9% 0.180 306.8);
Tailwind
colors: {
custom: {
50: '#bc8de0',
500: '#9c5cd2',
950: '#000000',
},
}SCSS
$custom: #9c5cd2; $custom-light: #bc8de0; $custom-dark: #000000;
JSON
{
"hex": "#9c5cd2",
"rgb": {
"r": 156,
"g": 92,
"b": 210
},
"hsl": {
"h": 272.542,
"s": 56.731,
"l": 59.216
},
"oklch": {
"l": 0.59893,
"c": 0.17961,
"h": 306.8
},
"luminance": 0.19375
}Semantic roles & 50–950 ramp
primary
#9C5CD2
secondary
#C3DCAE
accent
#E0488D
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83