#9C2FB5#9C2FB5
#9C2FB5 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.211 H 319.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2FB5 |
|---|---|
| RGB | rgb(156, 47, 181) |
| HSL | hsl(289, 59%, 45%) |
| HSV | hsv(289, 74%, 71%) |
| CMYK | cmyk(13.8%, 74%, 0%, 29%) |
| CIE-LAB | lab(41.90, 62.29, -49.02) |
| CIE-LCH | lch(41.90, 79.27, 321.80°) |
| OKLab | oklab(52.67% 0.1602 -0.1375) |
| OKLCH | oklch(52.67% 0.211 319.4) |
| XYZ | xyz(23.0662, 12.4383, 44.8929) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.56
Barney
#AC1DB8
ΔE00 2.77
Darkorchid
#9932CC
ΔE00 3.84
Medium Purple
#9E43A2
ΔE00 5.34
Vibrant Purple
#AD03DE
ΔE00 5.92
Darkviolet
#9400D3
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2FB5 #48B52F
analogous
#592FB5 #9C2FB5 #B52F8B
triadic
#9C2FB5 #B59C2F #2FB59C
tetradic
#9C2FB5 #B5592F #48B52F #2F8BB5
square
#9C2FB5 #B5592F #48B52F #2F8BB5
split-complementary
#9C2FB5 #8BB52F #2FB559
monochromatic
#481654 #722284 #9C2FB5 #B950D1 #CD80DE
Accessibility & contrast
On white
6.02
#9C2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#9C2FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2FB5
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2FB5 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#3966B2
Tritanopia (blue-blind)
#9C4A70
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #9c2fb5; /* rgb */ color: rgb(156, 47, 181); /* oklch */ color: oklch(52.7% 0.211 319.4);
Tailwind
colors: {
custom: {
50: '#bd73cc',
500: '#9c2fb5',
950: '#000000',
},
}SCSS
$custom: #9c2fb5; $custom-light: #bd73cc; $custom-dark: #000000;
JSON
{
"hex": "#9c2fb5",
"rgb": {
"r": 156,
"g": 47,
"b": 181
},
"hsl": {
"h": 288.806,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.52666,
"c": 0.21115,
"h": 319.4
},
"luminance": 0.12437
}Semantic roles & 50–950 ramp
primary
#9C2FB5
secondary
#87C779
accent
#E24663
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82