#9C2F92#9C2F92
#9C2F92 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.182 H 331.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2F92 |
|---|---|
| RGB | rgb(156, 47, 146) |
| HSL | hsl(306, 54%, 40%) |
| HSV | hsv(306, 70%, 61%) |
| CMYK | cmyk(0%, 69.9%, 6.4%, 38.8%) |
| CIE-LAB | lab(39.88, 56.12, -31.29) |
| CIE-LCH | lch(39.88, 64.25, 330.86°) |
| OKLab | oklab(50.56% 0.1607 -0.0859) |
| OKLCH | oklch(50.56% 0.182 331.9) |
| XYZ | xyz(19.9151, 11.1778, 28.2972) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.45
Barney Purple
#A00498
ΔE00 3.85
Ugly Purple
#A442A0
ΔE00 4.57
Medium Purple
#9E43A2
ΔE00 4.57
Light Eggplant
#894585
ΔE00 5.67
Barney
#AC1DB8
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2F92 #2F9C39
analogous
#702F9C #9C2F92 #9C2F5B
triadic
#9C2F92 #929C2F #2F929C
tetradic
#9C2F92 #9C702F #2F9C39 #2F5B9C
square
#9C2F92 #9C702F #2F9C39 #2F5B9C
split-complementary
#9C2F92 #5B9C2F #2F9C70
monochromatic
#3E133A #6D2166 #9C2F92 #C642BA #D471CB
Accessibility & contrast
On white
6.49
#9C2F92 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#9C2F92 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2F92
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2F92 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285495
Deuteranopia (green-blind)
#50638F
Tritanopia (blue-blind)
#A33A5D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9c2f92; /* rgb */ color: rgb(156, 47, 146); /* oklch */ color: oklch(50.6% 0.182 331.9);
Tailwind
colors: {
custom: {
50: '#bc71b2',
500: '#9c2f92',
950: '#000000',
},
}SCSS
$custom: #9c2f92; $custom-light: #bc71b2; $custom-dark: #000000;
JSON
{
"hex": "#9c2f92",
"rgb": {
"r": 156,
"g": 47,
"b": 146
},
"hsl": {
"h": 305.505,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.50563,
"c": 0.18224,
"h": 331.9
},
"luminance": 0.11176
}Semantic roles & 50–950 ramp
primary
#9C2F92
secondary
#6BBC72
accent
#DD584B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80