#9C2DA1#9C2DA1
#9C2DA1 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.197 H 326.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2DA1 |
|---|---|
| RGB | rgb(156, 45, 161) |
| HSL | hsl(297, 56%, 40%) |
| HSV | hsv(297, 72%, 63%) |
| CMYK | cmyk(3.1%, 72%, 0%, 36.9%) |
| CIE-LAB | lab(40.44, 59.38, -39.46) |
| CIE-LCH | lch(40.44, 71.29, 326.39°) |
| OKLab | oklab(51.23% 0.1632 -0.1096) |
| OKLCH | oklch(51.23% 0.197 326.1) |
| XYZ | xyz(21.0813, 11.5193, 34.8244) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.22
Barney Purple
#A00498
ΔE00 3.63
Barney
#AC1DB8
ΔE00 4.03
Medium Purple
#9E43A2
ΔE00 4.14
Purply
#983FB2
ΔE00 4.32
Ugly Purple
#A442A0
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2DA1 #32A12D
analogous
#622DA1 #9C2DA1 #A12D6C
triadic
#9C2DA1 #A19C2D #2DA19C
tetradic
#9C2DA1 #A1622D #32A12D #2D6CA1
square
#9C2DA1 #A1622D #32A12D #2D6CA1
split-complementary
#9C2DA1 #6CA12D #2DA162
monochromatic
#3F1241 #6E2071 #9C2DA1 #C441CA #D371D7
Accessibility & contrast
On white
6.36
#9C2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#9C2DA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2DA1
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2DA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2DA1 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1056A4
Deuteranopia (green-blind)
#47649E
Tritanopia (blue-blind)
#A04064
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9c2da1; /* rgb */ color: rgb(156, 45, 161); /* oklch */ color: oklch(51.2% 0.197 326.1);
Tailwind
colors: {
custom: {
50: '#bd71bd',
500: '#9c2da1',
950: '#000000',
},
}SCSS
$custom: #9c2da1; $custom-light: #bd71bd; $custom-dark: #000000;
JSON
{
"hex": "#9c2da1",
"rgb": {
"r": 156,
"g": 45,
"b": 161
},
"hsl": {
"h": 297.414,
"s": 56.311,
"l": 40.392
},
"oklch": {
"l": 0.51234,
"c": 0.19661,
"h": 326.1
},
"luminance": 0.11518
}Semantic roles & 50–950 ramp
primary
#9C2DA1
secondary
#6FBF6B
accent
#E0484F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81