#9C4CCC#9C4CCC
#9C4CCC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.3% C 0.196 H 310.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9C4CCC |
|---|---|
| RGB | rgb(156, 76, 204) |
| HSL | hsl(278, 56%, 55%) |
| HSV | hsv(278, 63%, 80%) |
| CMYK | cmyk(23.5%, 62.7%, 0%, 20%) |
| CIE-LAB | lab(47.75, 54.68, -53.04) |
| CIE-LCH | lch(47.75, 76.18, 315.88°) |
| OKLab | oklab(57.32% 0.1274 -0.1495) |
| OKLCH | oklch(57.32% 0.196 310.4) |
| XYZ | xyz(27.1918, 16.5970, 58.8861) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.56
Darkorchid
#9932CC
ΔE00 5.00
Amethyst
#9B5FC0
ΔE00 5.12
Purply
#983FB2
ΔE00 5.25
Deep Lavender
#8D5EB7
ΔE00 5.85
Purpley
#8756E4
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C4CCC #7CCC4C
analogous
#5C4CCC #9C4CCC #CC4CBC
triadic
#9C4CCC #CC9C4C #4CCC9C
tetradic
#9C4CCC #CC5C4C #7CCC4C #4CBCCC
square
#9C4CCC #CC5C4C #7CCC4C #4CBCCC
split-complementary
#9C4CCC #BCCC4C #4CCC5C
monochromatic
#5A237B #7D31AA #9C4CCC #B67CDA #D1ABE7
Accessibility & contrast
On white
4.86
#9C4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#9C4CCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C4CCC
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C4CCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C4CCC | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A6ED0
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#966585
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9c4ccc; /* rgb */ color: rgb(156, 76, 204); /* oklch */ color: oklch(57.3% 0.196 310.4);
Tailwind
colors: {
custom: {
50: '#bd83dc',
500: '#9c4ccc',
950: '#000000',
},
}SCSS
$custom: #9c4ccc; $custom-light: #bd83dc; $custom-dark: #000000;
JSON
{
"hex": "#9c4ccc",
"rgb": {
"r": 156,
"g": 76,
"b": 204
},
"hsl": {
"h": 277.5,
"s": 55.652,
"l": 54.902
},
"oklch": {
"l": 0.57318,
"c": 0.19643,
"h": 310.4
},
"luminance": 0.16596
}Semantic roles & 50–950 ramp
primary
#9C4CCC
secondary
#B3D59F
accent
#DF4981
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83