#9C2F93#9C2F93
#9C2F93 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.183 H 331.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2F93 |
|---|---|
| RGB | rgb(156, 47, 147) |
| HSL | hsl(305, 54%, 40%) |
| HSV | hsv(305, 70%, 61%) |
| CMYK | cmyk(0%, 69.9%, 5.8%, 38.8%) |
| CIE-LAB | lab(39.93, 56.28, -31.82) |
| CIE-LCH | lch(39.93, 64.65, 330.52°) |
| OKLab | oklab(50.62% 0.1608 -0.0875) |
| OKLCH | oklch(50.62% 0.183 331.5) |
| XYZ | xyz(19.9933, 11.2091, 28.7087) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.46
Barney Purple
#A00498
ΔE00 3.77
Medium Purple
#9E43A2
ΔE00 4.47
Ugly Purple
#A442A0
ΔE00 4.51
Light Eggplant
#894585
ΔE00 5.74
Barney
#AC1DB8
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2F93 #2F9C38
analogous
#6F2F9C #9C2F93 #9C2F5D
triadic
#9C2F93 #939C2F #2F939C
tetradic
#9C2F93 #9C6F2F #2F9C38 #2F5D9C
square
#9C2F93 #9C6F2F #2F9C38 #2F5D9C
split-complementary
#9C2F93 #5D9C2F #2F9C6F
monochromatic
#3E133A #6D2167 #9C2F93 #C642BB #D471CC
Accessibility & contrast
On white
6.48
#9C2F93 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#9C2F93 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2F93
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2F93 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285496
Deuteranopia (green-blind)
#506390
Tritanopia (blue-blind)
#A23B5D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9c2f93; /* rgb */ color: rgb(156, 47, 147); /* oklch */ color: oklch(50.6% 0.183 331.5);
Tailwind
colors: {
custom: {
50: '#bc71b3',
500: '#9c2f93',
950: '#000000',
},
}SCSS
$custom: #9c2f93; $custom-light: #bc71b3; $custom-dark: #000000;
JSON
{
"hex": "#9c2f93",
"rgb": {
"r": 156,
"g": 47,
"b": 147
},
"hsl": {
"h": 304.954,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.50617,
"c": 0.18302,
"h": 331.5
},
"luminance": 0.11208
}Semantic roles & 50–950 ramp
primary
#9C2F93
secondary
#6BBC72
accent
#DD574B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80