#9C2B97#9C2B97
#9C2B97 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.191 H 329.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2B97 |
|---|---|
| RGB | rgb(156, 43, 151) |
| HSL | hsl(303, 57%, 39%) |
| HSV | hsv(303, 72%, 61%) |
| CMYK | cmyk(0%, 72.4%, 3.2%, 38.8%) |
| CIE-LAB | lab(39.63, 58.39, -34.71) |
| CIE-LCH | lch(39.63, 67.92, 329.27°) |
| OKLab | oklab(50.47% 0.1651 -0.0958) |
| OKLCH | oklch(50.47% 0.191 329.9) |
| XYZ | xyz(20.1600, 11.0316, 30.3397) |
| Luminance | 0.1103 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.66
Barney Purple
#A00498
ΔE00 3.00
Medium Purple
#9E43A2
ΔE00 4.65
Ugly Purple
#A442A0
ΔE00 4.88
Barney
#AC1DB8
ΔE00 5.52
Purply
#983FB2
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2B97 #2B9C30
analogous
#692B9C #9C2B97 #9C2B5F
triadic
#9C2B97 #979C2B #2B979C
tetradic
#9C2B97 #9C692B #2B9C30 #2B5F9C
square
#9C2B97 #9C692B #2B9C30 #2B5F9C
split-complementary
#9C2B97 #5F9C2B #2B9C69
monochromatic
#3C113A #6C1E69 #9C2B97 #C93BC3 #D66BD2
Accessibility & contrast
On white
6.55
#9C2B97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#9C2B97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2B97
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2B97 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#4C6394
Tritanopia (blue-blind)
#A23A5E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9c2b97; /* rgb */ color: rgb(156, 43, 151); /* oklch */ color: oklch(50.5% 0.191 329.9);
Tailwind
colors: {
custom: {
50: '#bd70b6',
500: '#9c2b97',
950: '#000000',
},
}SCSS
$custom: #9c2b97; $custom-light: #bd70b6; $custom-dark: #000000;
JSON
{
"hex": "#9c2b97",
"rgb": {
"r": 156,
"g": 43,
"b": 151
},
"hsl": {
"h": 302.655,
"s": 56.784,
"l": 39.02
},
"oklch": {
"l": 0.50473,
"c": 0.1909,
"h": 329.9
},
"luminance": 0.1103
}Semantic roles & 50–950 ramp
primary
#9C2B97
secondary
#66BD6A
accent
#E04E48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80