#9C3AB2#9C3AB2
#9C3AB2 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.6% C 0.195 H 319.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9C3AB2 |
|---|---|
| RGB | rgb(156, 58, 178) |
| HSL | hsl(289, 51%, 46%) |
| HSV | hsv(289, 67%, 70%) |
| CMYK | cmyk(12.4%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(43.23, 57.46, -45.14) |
| CIE-LCH | lch(43.23, 73.06, 321.85°) |
| OKLab | oklab(53.55% 0.1491 -0.1263) |
| OKLCH | oklch(53.55% 0.195 319.7) |
| XYZ | xyz(23.2582, 13.3095, 43.4547) |
| Luminance | 0.1331 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.02
Barney
#AC1DB8
ΔE00 3.54
Medium Purple
#9E43A2
ΔE00 3.83
Darkorchid
#9932CC
ΔE00 4.53
Ugly Purple
#A442A0
ΔE00 4.89
Warm Purple
#952E8F
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C3AB2 #50B23A
analogous
#603AB2 #9C3AB2 #B23A8C
triadic
#9C3AB2 #B29C3A #3AB29C
tetradic
#9C3AB2 #B2603A #50B23A #3A8CB2
square
#9C3AB2 #B2603A #50B23A #3A8CB2
split-complementary
#9C3AB2 #8CB23A #3AB260
monochromatic
#4B1C56 #742B84 #9C3AB2 #B75FCB #CC8DDA
Accessibility & contrast
On white
5.74
#9C3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#9C3AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C3AB2
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C3AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C3AB2 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D5FB6
Deuteranopia (green-blind)
#4469AF
Tritanopia (blue-blind)
#9C4F71
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9c3ab2; /* rgb */ color: rgb(156, 58, 178); /* oklch */ color: oklch(53.6% 0.195 319.7);
Tailwind
colors: {
custom: {
50: '#bd78c9',
500: '#9c3ab2',
950: '#000000',
},
}SCSS
$custom: #9c3ab2; $custom-light: #bd78c9; $custom-dark: #000000;
JSON
{
"hex": "#9c3ab2",
"rgb": {
"r": 156,
"g": 58,
"b": 178
},
"hsl": {
"h": 289,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.53552,
"c": 0.19539,
"h": 319.7
},
"luminance": 0.13308
}Semantic roles & 50–950 ramp
primary
#9C3AB2
secondary
#8FC483
accent
#DA4D67
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82