#9C2A96#9C2A96
#9C2A96 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.191 H 330.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2A96 |
|---|---|
| RGB | rgb(156, 42, 150) |
| HSL | hsl(303, 58%, 39%) |
| HSV | hsv(303, 73%, 61%) |
| CMYK | cmyk(0%, 73.1%, 3.8%, 38.8%) |
| CIE-LAB | lab(39.46, 58.57, -34.38) |
| CIE-LCH | lch(39.46, 67.91, 329.58°) |
| OKLab | oklab(50.33% 0.1661 -0.0948) |
| OKLCH | oklch(50.33% 0.191 330.3) |
| XYZ | xyz(20.0432, 10.9274, 29.9018) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.55
Barney Purple
#A00498
ΔE00 2.89
Medium Purple
#9E43A2
ΔE00 4.84
Ugly Purple
#A442A0
ΔE00 5.04
Barney
#AC1DB8
ΔE00 5.68
Darkmagenta
#8B008B
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2A96 #2A9C30
analogous
#692A9C #9C2A96 #9C2A5D
triadic
#9C2A96 #969C2A #2A969C
tetradic
#9C2A96 #9C692A #2A9C30 #2A5D9C
square
#9C2A96 #9C692A #2A9C30 #2A5D9C
split-complementary
#9C2A96 #5D9C2A #2A9C69
monochromatic
#3C1039 #6C1D68 #9C2A96 #CA39C2 #D76AD1
Accessibility & contrast
On white
6.59
#9C2A96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#9C2A96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2A96
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2A96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2A96 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D5399
Deuteranopia (green-blind)
#4C6293
Tritanopia (blue-blind)
#A2395D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9c2a96; /* rgb */ color: rgb(156, 42, 150); /* oklch */ color: oklch(50.3% 0.191 330.3);
Tailwind
colors: {
custom: {
50: '#bd6fb5',
500: '#9c2a96',
950: '#000000',
},
}SCSS
$custom: #9c2a96; $custom-light: #bd6fb5; $custom-dark: #000000;
JSON
{
"hex": "#9c2a96",
"rgb": {
"r": 156,
"g": 42,
"b": 150
},
"hsl": {
"h": 303.158,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.50329,
"c": 0.19126,
"h": 330.3
},
"luminance": 0.10926
}Semantic roles & 50–950 ramp
primary
#9C2A96
secondary
#65BD69
accent
#E14F47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80