#9C4CD2#9C4CD2
#9C4CD2 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.203 H 308.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9C4CD2 |
|---|---|
| RGB | rgb(156, 76, 210) |
| HSL | hsl(276, 60%, 56%) |
| HSV | hsv(276, 64%, 82%) |
| CMYK | cmyk(25.7%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(48.12, 56.01, -55.88) |
| CIE-LCH | lch(48.12, 79.12, 315.07°) |
| OKLab | oklab(57.71% 0.1272 -0.1578) |
| OKLCH | oklch(57.71% 0.203 308.9) |
| XYZ | xyz(27.9253, 16.8904, 62.7493) |
| Luminance | 0.1689 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.80
Darkorchid
#9932CC
ΔE00 5.16
Purpley
#8756E4
ΔE00 5.50
Amethyst
#9B5FC0
ΔE00 5.51
Purply
#983FB2
ΔE00 6.06
Deep Lavender
#8D5EB7
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C4CD2 #82D24C
analogous
#594CD2 #9C4CD2 #D24CC5
triadic
#9C4CD2 #D29C4C #4CD29C
tetradic
#9C4CD2 #D2594C #82D24C #4CC5D2
square
#9C4CD2 #D2594C #82D24C #4CC5D2
split-complementary
#9C4CD2 #C5D24C #4CD259
monochromatic
#5B2183 #7D2DB4 #9C4CD2 #B77DDE #D2AEEB
Accessibility & contrast
On white
4.80
#9C4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#9C4CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C4CD2
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C4CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C4CD2 | 1.00 | 4.80 | 4.38 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#3673CF
Tritanopia (blue-blind)
#946788
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9c4cd2; /* rgb */ color: rgb(156, 76, 210); /* oklch */ color: oklch(57.7% 0.203 308.9);
Tailwind
colors: {
custom: {
50: '#bd83e0',
500: '#9c4cd2',
950: '#000000',
},
}SCSS
$custom: #9c4cd2; $custom-light: #bd83e0; $custom-dark: #000000;
JSON
{
"hex": "#9c4cd2",
"rgb": {
"r": 156,
"g": 76,
"b": 210
},
"hsl": {
"h": 275.821,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.57708,
"c": 0.20268,
"h": 308.9
},
"luminance": 0.1689
}Semantic roles & 50–950 ramp
primary
#9C4CD2
secondary
#B8D9A1
accent
#E34585
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83