#9C56CC#9C56CC
#9C56CC is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.182 H 309.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9C56CC |
|---|---|
| RGB | rgb(156, 86, 204) |
| HSL | hsl(276, 54%, 57%) |
| HSV | hsv(276, 58%, 80%) |
| CMYK | cmyk(23.5%, 57.8%, 0%, 20%) |
| CIE-LAB | lab(49.60, 49.69, -50.08) |
| CIE-LCH | lch(49.60, 70.55, 314.78°) |
| OKLab | oklab(58.66% 0.1151 -0.1409) |
| OKLCH | oklch(58.66% 0.182 309.3) |
| XYZ | xyz(27.9351, 18.0836, 59.1339) |
| Luminance | 0.1808 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.16
Lightish Purple
#A552E6
ΔE00 3.97
Deep Lavender
#8D5EB7
ΔE00 4.58
Mediumorchid
#BA55D3
ΔE00 5.79
Purpley
#8756E4
ΔE00 6.00
Lighter Purple
#A55AF4
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C56CC #86CC56
analogous
#6156CC #9C56CC #CC56C1
triadic
#9C56CC #CC9C56 #56CC9C
tetradic
#9C56CC #CC6156 #86CC56 #56C1CC
square
#9C56CC #CC6156 #86CC56 #56C1CC
split-complementary
#9C56CC #C1CC56 #56CC61
monochromatic
#5C2781 #7E35B0 #9C56CC #B885DA #D3B4E8
Accessibility & contrast
On white
4.55
#9C56CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#9C56CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C56CC
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C56CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C56CC | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C73D0
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#956C89
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9c56cc; /* rgb */ color: rgb(156, 86, 204); /* oklch */ color: oklch(58.7% 0.182 309.3);
Tailwind
colors: {
custom: {
50: '#bc89dc',
500: '#9c56cc',
950: '#000000',
},
}SCSS
$custom: #9c56cc; $custom-light: #bc89dc; $custom-dark: #000000;
JSON
{
"hex": "#9c56cc",
"rgb": {
"r": 156,
"g": 86,
"b": 204
},
"hsl": {
"h": 275.593,
"s": 53.636,
"l": 56.863
},
"oklch": {
"l": 0.58663,
"c": 0.18193,
"h": 309.3
},
"luminance": 0.18083
}Semantic roles & 50–950 ramp
primary
#9C56CC
secondary
#BAD7A7
accent
#DD4B86
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83