#9C3CA6#9C3CA6
#9C3CA6 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.1% C 0.182 H 323.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9C3CA6 |
|---|---|
| RGB | rgb(156, 60, 166) |
| HSL | hsl(294, 47%, 44%) |
| HSV | hsv(294, 64%, 65%) |
| CMYK | cmyk(6%, 63.9%, 0%, 34.9%) |
| CIE-LAB | lab(42.84, 54.32, -38.63) |
| CIE-LCH | lch(42.84, 66.66, 324.58°) |
| OKLab | oklab(53.06% 0.1468 -0.1073) |
| OKLCH | oklch(53.06% 0.182 323.8) |
| XYZ | xyz(22.2085, 13.0541, 37.4189) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.95
Purply
#983FB2
ΔE00 2.59
Ugly Purple
#A442A0
ΔE00 3.05
Barney
#AC1DB8
ΔE00 4.43
Warm Purple
#952E8F
ΔE00 4.82
Barney Purple
#A00498
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C3CA6 #46A63C
analogous
#673CA6 #9C3CA6 #A63C7B
triadic
#9C3CA6 #A69C3C #3CA69C
tetradic
#9C3CA6 #A6673C #46A63C #3C7BA6
square
#9C3CA6 #A6673C #46A63C #3C7BA6
split-complementary
#9C3CA6 #7BA63C #3CA667
monochromatic
#481C4C #722C79 #9C3CA6 #BA5BC4 #CD88D4
Accessibility & contrast
On white
5.82
#9C3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#9C3CA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C3CA6
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C3CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C3CA6 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275EA9
Deuteranopia (green-blind)
#4D69A3
Tritanopia (blue-blind)
#9F4C6C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #9c3ca6; /* rgb */ color: rgb(156, 60, 166); /* oklch */ color: oklch(53.1% 0.182 323.8);
Tailwind
colors: {
custom: {
50: '#bc79c1',
500: '#9c3ca6',
950: '#000000',
},
}SCSS
$custom: #9c3ca6; $custom-light: #bc79c1; $custom-dark: #000000;
JSON
{
"hex": "#9c3ca6",
"rgb": {
"r": 156,
"g": 60,
"b": 166
},
"hsl": {
"h": 294.34,
"s": 46.903,
"l": 44.314
},
"oklch": {
"l": 0.53055,
"c": 0.18182,
"h": 323.8
},
"luminance": 0.13053
}Semantic roles & 50–950 ramp
primary
#9C3CA6
secondary
#85BE7F
accent
#D7515E
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81