#9C2DA3#9C2DA3
#9C2DA3 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.198 H 325.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2DA3 |
|---|---|
| RGB | rgb(156, 45, 163) |
| HSL | hsl(296, 57%, 41%) |
| HSV | hsv(296, 72%, 64%) |
| CMYK | cmyk(4.3%, 72.4%, 0%, 36.1%) |
| CIE-LAB | lab(40.56, 59.73, -40.48) |
| CIE-LCH | lch(40.56, 72.15, 325.87°) |
| OKLab | oklab(51.35% 0.1632 -0.1126) |
| OKLCH | oklch(51.35% 0.198 325.4) |
| XYZ | xyz(21.2591, 11.5904, 35.7607) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.56
Barney
#AC1DB8
ΔE00 3.77
Barney Purple
#A00498
ΔE00 3.80
Purply
#983FB2
ΔE00 4.06
Medium Purple
#9E43A2
ΔE00 4.18
Ugly Purple
#A442A0
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2DA3 #34A32D
analogous
#612DA3 #9C2DA3 #A32D6F
triadic
#9C2DA3 #A39C2D #2DA39C
tetradic
#9C2DA3 #A3612D #34A32D #2D6FA3
square
#9C2DA3 #A3612D #34A32D #2D6FA3
split-complementary
#9C2DA3 #6FA32D #2DA361
monochromatic
#401343 #6E2073 #9C2DA3 #C342CB #D272D8
Accessibility & contrast
On white
6.33
#9C2DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#9C2DA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2DA3
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2DA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2DA3 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B57A6
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#A04165
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9c2da3; /* rgb */ color: rgb(156, 45, 163); /* oklch */ color: oklch(51.4% 0.198 325.4);
Tailwind
colors: {
custom: {
50: '#bd71bf',
500: '#9c2da3',
950: '#000000',
},
}SCSS
$custom: #9c2da3; $custom-light: #bd71bf; $custom-dark: #000000;
JSON
{
"hex": "#9c2da3",
"rgb": {
"r": 156,
"g": 45,
"b": 163
},
"hsl": {
"h": 296.441,
"s": 56.731,
"l": 40.784
},
"oklch": {
"l": 0.51354,
"c": 0.19824,
"h": 325.4
},
"luminance": 0.11589
}Semantic roles & 50–950 ramp
primary
#9C2DA3
secondary
#71C06C
accent
#E04851
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81