#9C2296#9C2296
#9C2296 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.200 H 330.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2296 |
|---|---|
| RGB | rgb(156, 34, 150) |
| HSL | hsl(303, 64%, 37%) |
| HSV | hsv(303, 78%, 61%) |
| CMYK | cmyk(0%, 78.2%, 3.8%, 38.8%) |
| CIE-LAB | lab(38.58, 61.09, -35.78) |
| CIE-LCH | lch(38.58, 70.79, 329.64°) |
| OKLab | oklab(49.7% 0.1733 -0.0988) |
| OKLCH | oklch(49.7% 0.2 330.3) |
| XYZ | xyz(19.7873, 10.4156, 29.8165) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.90
Warm Purple
#952E8F
ΔE00 1.97
Darkmagenta
#8B008B
ΔE00 5.06
Barney
#AC1DB8
ΔE00 5.71
Medium Purple
#9E43A2
ΔE00 5.77
Ugly Purple
#A442A0
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2296 #229C28
analogous
#65229C #9C2296 #9C2259
triadic
#9C2296 #969C22 #22969C
tetradic
#9C2296 #9C6522 #229C28 #22599C
square
#9C2296 #9C6522 #229C28 #22599C
split-complementary
#9C2296 #599C22 #229C65
monochromatic
#380C35 #6A1766 #9C2296 #CE2DC6 #DC5DD5
Accessibility & contrast
On white
6.81
#9C2296 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#9C2296 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2296
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2296 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#105099
Deuteranopia (green-blind)
#496193
Tritanopia (blue-blind)
#A2345B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9c2296; /* rgb */ color: rgb(156, 34, 150); /* oklch */ color: oklch(49.7% 0.200 330.3);
Tailwind
colors: {
custom: {
50: '#bd6cb5',
500: '#9c2296',
950: '#000000',
},
}SCSS
$custom: #9c2296; $custom-light: #bd6cb5; $custom-dark: #000000;
JSON
{
"hex": "#9c2296",
"rgb": {
"r": 156,
"g": 34,
"b": 150
},
"hsl": {
"h": 302.951,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.497,
"c": 0.19953,
"h": 330.3
},
"luminance": 0.10414
}Semantic roles & 50–950 ramp
primary
#9C2296
secondary
#5AC05F
accent
#E74941
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80