#9C2CA2#9C2CA2
#9C2CA2 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.199 H 325.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2CA2 |
|---|---|
| RGB | rgb(156, 44, 162) |
| HSL | hsl(297, 57%, 40%) |
| HSV | hsv(297, 73%, 64%) |
| CMYK | cmyk(3.7%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(40.38, 59.90, -40.17) |
| CIE-LCH | lch(40.38, 72.12, 326.16°) |
| OKLab | oklab(51.21% 0.1642 -0.1116) |
| OKLCH | oklch(51.21% 0.199 325.8) |
| XYZ | xyz(21.1321, 11.4793, 35.2781) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.39
Barney Purple
#A00498
ΔE00 3.59
Barney
#AC1DB8
ΔE00 3.89
Purply
#983FB2
ΔE00 4.28
Medium Purple
#9E43A2
ΔE00 4.30
Ugly Purple
#A442A0
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2CA2 #32A22C
analogous
#612CA2 #9C2CA2 #A22C6D
triadic
#9C2CA2 #A29C2C #2CA29C
tetradic
#9C2CA2 #A2612C #32A22C #2C6DA2
square
#9C2CA2 #A2612C #32A22C #2C6DA2
split-complementary
#9C2CA2 #6DA22C #2CA261
monochromatic
#3F1242 #6E1F72 #9C2CA2 #C440CB #D370D8
Accessibility & contrast
On white
6.37
#9C2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#9C2CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2CA2
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2CA2 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A56A5
Deuteranopia (green-blind)
#46649F
Tritanopia (blue-blind)
#A04065
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9c2ca2; /* rgb */ color: rgb(156, 44, 162); /* oklch */ color: oklch(51.2% 0.199 325.8);
Tailwind
colors: {
custom: {
50: '#bd71be',
500: '#9c2ca2',
950: '#000000',
},
}SCSS
$custom: #9c2ca2; $custom-light: #bd71be; $custom-dark: #000000;
JSON
{
"hex": "#9c2ca2",
"rgb": {
"r": 156,
"g": 44,
"b": 162
},
"hsl": {
"h": 296.949,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.51206,
"c": 0.19855,
"h": 325.8
},
"luminance": 0.11478
}Semantic roles & 50–950 ramp
primary
#9C2CA2
secondary
#6FBF6A
accent
#E1474F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81