#9C2CA3#9C2CA3
#9C2CA3 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.199 H 325.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2CA3 |
|---|---|
| RGB | rgb(156, 44, 163) |
| HSL | hsl(296, 57%, 41%) |
| HSV | hsv(296, 73%, 64%) |
| CMYK | cmyk(4.3%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(40.43, 60.08, -40.67) |
| CIE-LCH | lch(40.43, 72.55, 325.90°) |
| OKLab | oklab(51.27% 0.1642 -0.1131) |
| OKLCH | oklch(51.27% 0.199 325.4) |
| XYZ | xyz(21.2214, 11.5150, 35.7481) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.56
Barney Purple
#A00498
ΔE00 3.69
Barney
#AC1DB8
ΔE00 3.76
Purply
#983FB2
ΔE00 4.15
Medium Purple
#9E43A2
ΔE00 4.33
Ugly Purple
#A442A0
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2CA3 #33A32C
analogous
#612CA3 #9C2CA3 #A32C6E
triadic
#9C2CA3 #A39C2C #2CA39C
tetradic
#9C2CA3 #A3612C #33A32C #2C6EA3
square
#9C2CA3 #A3612C #33A32C #2C6EA3
split-complementary
#9C2CA3 #6EA32C #2CA361
monochromatic
#401243 #6E1F73 #9C2CA3 #C341CC #D371D9
Accessibility & contrast
On white
6.36
#9C2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#9C2CA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2CA3
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2CA3 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0757A6
Deuteranopia (green-blind)
#4564A0
Tritanopia (blue-blind)
#A04065
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9c2ca3; /* rgb */ color: rgb(156, 44, 163); /* oklch */ color: oklch(51.3% 0.199 325.4);
Tailwind
colors: {
custom: {
50: '#bd71bf',
500: '#9c2ca3',
950: '#000000',
},
}SCSS
$custom: #9c2ca3; $custom-light: #bd71bf; $custom-dark: #000000;
JSON
{
"hex": "#9c2ca3",
"rgb": {
"r": 156,
"g": 44,
"b": 163
},
"hsl": {
"h": 296.471,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.51266,
"c": 0.19936,
"h": 325.4
},
"luminance": 0.11514
}Semantic roles & 50–950 ramp
primary
#9C2CA3
secondary
#70C06B
accent
#E14750
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81