#9C2FA1#9C2FA1
#9C2FA1 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.194 H 326.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2FA1 |
|---|---|
| RGB | rgb(156, 47, 161) |
| HSL | hsl(297, 55%, 41%) |
| HSV | hsv(297, 71%, 63%) |
| CMYK | cmyk(3.1%, 70.8%, 0%, 36.9%) |
| CIE-LAB | lab(40.70, 58.66, -39.06) |
| CIE-LCH | lch(40.70, 70.47, 326.34°) |
| OKLab | oklab(51.42% 0.1612 -0.1084) |
| OKLCH | oklch(51.42% 0.194 326.1) |
| XYZ | xyz(21.1594, 11.6756, 34.8504) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.24
Medium Purple
#9E43A2
ΔE00 3.84
Barney Purple
#A00498
ΔE00 3.88
Barney
#AC1DB8
ΔE00 4.08
Purply
#983FB2
ΔE00 4.16
Ugly Purple
#A442A0
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2FA1 #34A12F
analogous
#632FA1 #9C2FA1 #A12F6D
triadic
#9C2FA1 #A19C2F #2FA19C
tetradic
#9C2FA1 #A1632F #34A12F #2F6DA1
square
#9C2FA1 #A1632F #34A12F #2F6DA1
split-complementary
#9C2FA1 #6DA12F #2FA163
monochromatic
#401342 #6E2172 #9C2FA1 #C345C9 #D274D6
Accessibility & contrast
On white
6.30
#9C2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#9C2FA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2FA1
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2FA1 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1557A4
Deuteranopia (green-blind)
#48659E
Tritanopia (blue-blind)
#A04165
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9c2fa1; /* rgb */ color: rgb(156, 47, 161); /* oklch */ color: oklch(51.4% 0.194 326.1);
Tailwind
colors: {
custom: {
50: '#bd72bd',
500: '#9c2fa1',
950: '#000000',
},
}SCSS
$custom: #9c2fa1; $custom-light: #bd72bd; $custom-dark: #000000;
JSON
{
"hex": "#9c2fa1",
"rgb": {
"r": 156,
"g": 47,
"b": 161
},
"hsl": {
"h": 297.368,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.51416,
"c": 0.19429,
"h": 326.1
},
"luminance": 0.11674
}Semantic roles & 50–950 ramp
primary
#9C2FA1
secondary
#71BE6E
accent
#DE4A50
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120912
muted
#817B81