#9C2FAB#9C2FAB
#9C2FAB is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.203 H 322.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2FAB |
|---|---|
| RGB | rgb(156, 47, 171) |
| HSL | hsl(293, 57%, 43%) |
| HSV | hsv(293, 73%, 67%) |
| CMYK | cmyk(8.8%, 72.5%, 0%, 32.9%) |
| CIE-LAB | lab(41.28, 60.44, -44.09) |
| CIE-LCH | lch(41.28, 74.81, 323.89°) |
| OKLab | oklab(52.03% 0.1609 -0.1231) |
| OKLCH | oklch(52.03% 0.203 322.6) |
| XYZ | xyz(22.0768, 12.0425, 39.6818) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.96
Barney
#AC1DB8
ΔE00 3.01
Medium Purple
#9E43A2
ΔE00 4.36
Barney Purple
#A00498
ΔE00 4.90
Warm Purple
#952E8F
ΔE00 4.94
Ugly Purple
#A442A0
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2FAB #3EAB2F
analogous
#5E2FAB #9C2FAB #AB2F7C
triadic
#9C2FAB #AB9C2F #2FAB9C
tetradic
#9C2FAB #AB5E2F #3EAB2F #2F7CAB
square
#9C2FAB #AB5E2F #3EAB2F #2F7CAB
split-complementary
#9C2FAB #7CAB2F #2FAB5E
monochromatic
#44154B #70227B #9C2FAB #BD4ACD #CF7ADA
Accessibility & contrast
On white
6.16
#9C2FAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#9C2FAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2FAB
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2FAB | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4266A8
Tritanopia (blue-blind)
#9E466A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9c2fab; /* rgb */ color: rgb(156, 47, 171); /* oklch */ color: oklch(52.0% 0.203 322.6);
Tailwind
colors: {
custom: {
50: '#bd72c4',
500: '#9c2fab',
950: '#000000',
},
}SCSS
$custom: #9c2fab; $custom-light: #bd72c4; $custom-dark: #000000;
JSON
{
"hex": "#9c2fab",
"rgb": {
"r": 156,
"g": 47,
"b": 171
},
"hsl": {
"h": 292.742,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.52025,
"c": 0.20263,
"h": 322.6
},
"luminance": 0.12041
}Semantic roles & 50–950 ramp
primary
#9C2FAB
secondary
#7DC373
accent
#E0485A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82