#9C2A9B#9C2A9B
#9C2A9B is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.195 H 328.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2A9B |
|---|---|
| RGB | rgb(156, 42, 155) |
| HSL | hsl(301, 58%, 39%) |
| HSV | hsv(301, 73%, 61%) |
| CMYK | cmyk(0%, 73.1%, 0.6%, 38.8%) |
| CIE-LAB | lab(39.73, 59.39, -36.97) |
| CIE-LCH | lch(39.73, 69.96, 328.10°) |
| OKLab | oklab(50.62% 0.1662 -0.1023) |
| OKLCH | oklch(50.62% 0.195 328.4) |
| XYZ | xyz(20.4544, 11.0919, 32.0676) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.25
Barney Purple
#A00498
ΔE00 2.89
Medium Purple
#9E43A2
ΔE00 4.61
Barney
#AC1DB8
ΔE00 4.87
Ugly Purple
#A442A0
ΔE00 4.99
Purply
#983FB2
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2A9B #2A9C2B
analogous
#642A9C #9C2A9B #9C2A62
triadic
#9C2A9B #9B9C2A #2A9B9C
tetradic
#9C2A9B #9C642A #2A9C2B #2A629C
square
#9C2A9B #9C642A #2A9C2B #2A629C
split-complementary
#9C2A9B #629C2A #2A9C64
monochromatic
#3C103B #6C1D6B #9C2A9B #CA39C9 #D76AD6
Accessibility & contrast
On white
6.53
#9C2A9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#9C2A9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2A9B
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2A9B | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#16549E
Deuteranopia (green-blind)
#496398
Tritanopia (blue-blind)
#A13B60
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9c2a9b; /* rgb */ color: rgb(156, 42, 155); /* oklch */ color: oklch(50.6% 0.195 328.4);
Tailwind
colors: {
custom: {
50: '#bd70b9',
500: '#9c2a9b',
950: '#000000',
},
}SCSS
$custom: #9c2a9b; $custom-light: #bd70b9; $custom-dark: #000000;
JSON
{
"hex": "#9c2a9b",
"rgb": {
"r": 156,
"g": 42,
"b": 155
},
"hsl": {
"h": 300.526,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.50617,
"c": 0.19516,
"h": 328.4
},
"luminance": 0.1109
}Semantic roles & 50–950 ramp
primary
#9C2A9B
secondary
#65BD65
accent
#E14847
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80