#9C4CCD#9C4CCD
#9C4CCD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.4% C 0.197 H 310.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9C4CCD |
|---|---|
| RGB | rgb(156, 76, 205) |
| HSL | hsl(277, 56%, 55%) |
| HSV | hsv(277, 63%, 80%) |
| CMYK | cmyk(23.9%, 62.9%, 0%, 19.6%) |
| CIE-LAB | lab(47.81, 54.90, -53.51) |
| CIE-LCH | lch(47.81, 76.67, 315.73°) |
| OKLab | oklab(57.38% 0.1274 -0.1509) |
| OKLCH | oklch(57.38% 0.197 310.2) |
| XYZ | xyz(27.3121, 16.6451, 59.5198) |
| Luminance | 0.1664 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.43
Darkorchid
#9932CC
ΔE00 5.01
Amethyst
#9B5FC0
ΔE00 5.18
Purply
#983FB2
ΔE00 5.38
Deep Lavender
#8D5EB7
ΔE00 5.92
Purpley
#8756E4
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C4CCD #7DCD4C
analogous
#5B4CCD #9C4CCD #CD4CBE
triadic
#9C4CCD #CD9C4C #4CCD9C
tetradic
#9C4CCD #CD5B4C #7DCD4C #4CBECD
square
#9C4CCD #CD5B4C #7DCD4C #4CBECD
split-complementary
#9C4CCD #BECD4C #4CCD5B
monochromatic
#5A237C #7D30AC #9C4CCD #B67CDA #D1ACE8
Accessibility & contrast
On white
4.85
#9C4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#9C4CCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C4CCD
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C4CCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C4CCD | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#056ED1
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#956586
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9c4ccd; /* rgb */ color: rgb(156, 76, 205); /* oklch */ color: oklch(57.4% 0.197 310.2);
Tailwind
colors: {
custom: {
50: '#bd83dd',
500: '#9c4ccd',
950: '#000000',
},
}SCSS
$custom: #9c4ccd; $custom-light: #bd83dd; $custom-dark: #000000;
JSON
{
"hex": "#9c4ccd",
"rgb": {
"r": 156,
"g": 76,
"b": 205
},
"hsl": {
"h": 277.209,
"s": 56.332,
"l": 55.098
},
"oklch": {
"l": 0.57383,
"c": 0.19747,
"h": 310.2
},
"luminance": 0.16645
}Semantic roles & 50–950 ramp
primary
#9C4CCD
secondary
#B4D59F
accent
#E04882
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83