#9C2FB3#9C2FB3
#9C2FB3 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.209 H 320.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2FB3 |
|---|---|
| RGB | rgb(156, 47, 179) |
| HSL | hsl(290, 58%, 44%) |
| HSV | hsv(290, 74%, 70%) |
| CMYK | cmyk(12.8%, 73.7%, 0%, 29.8%) |
| CIE-LAB | lab(41.78, 61.91, -48.04) |
| CIE-LCH | lch(41.78, 78.37, 322.19°) |
| OKLab | oklab(52.54% 0.1604 -0.1347) |
| OKLCH | oklch(52.54% 0.209 320) |
| XYZ | xyz(22.8625, 12.3568, 43.8199) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.55
Barney
#AC1DB8
ΔE00 2.74
Darkorchid
#9932CC
ΔE00 4.17
Medium Purple
#9E43A2
ΔE00 5.12
Barney Purple
#A00498
ΔE00 5.95
Ugly Purple
#A442A0
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2FB3 #46B32F
analogous
#5A2FB3 #9C2FB3 #B32F88
triadic
#9C2FB3 #B39C2F #2FB39C
tetradic
#9C2FB3 #B35A2F #46B32F #2F88B3
square
#9C2FB3 #B35A2F #46B32F #2F88B3
split-complementary
#9C2FB3 #88B32F #2FB35A
monochromatic
#481652 #722283 #9C2FB3 #BA4FD1 #CD7FDD
Accessibility & contrast
On white
6.05
#9C2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#9C2FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2FB3
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2FB3 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3B66B0
Tritanopia (blue-blind)
#9C496F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #9c2fb3; /* rgb */ color: rgb(156, 47, 179); /* oklch */ color: oklch(52.5% 0.209 320.0);
Tailwind
colors: {
custom: {
50: '#bd73ca',
500: '#9c2fb3',
950: '#000000',
},
}SCSS
$custom: #9c2fb3; $custom-light: #bd73ca; $custom-dark: #000000;
JSON
{
"hex": "#9c2fb3",
"rgb": {
"r": 156,
"g": 47,
"b": 179
},
"hsl": {
"h": 289.545,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.52536,
"c": 0.20944,
"h": 320
},
"luminance": 0.12356
}Semantic roles & 50–950 ramp
primary
#9C2FB3
secondary
#85C678
accent
#E24661
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82