#9C2F8E#9C2F8E
#9C2F8E is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.3% C 0.179 H 333.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2F8E |
|---|---|
| RGB | rgb(156, 47, 142) |
| HSL | hsl(308, 54%, 40%) |
| HSV | hsv(308, 70%, 61%) |
| CMYK | cmyk(0%, 69.9%, 9%, 38.8%) |
| CIE-LAB | lab(39.67, 55.47, -29.17) |
| CIE-LCH | lch(39.67, 62.68, 332.26°) |
| OKLab | oklab(50.35% 0.1604 -0.0799) |
| OKLCH | oklch(50.35% 0.179 333.5) |
| XYZ | xyz(19.6094, 11.0556, 26.6871) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.70
Barney Purple
#A00498
ΔE00 4.23
Ugly Purple
#A442A0
ΔE00 4.90
Medium Purple
#9E43A2
ΔE00 5.06
Light Eggplant
#894585
ΔE00 5.43
Darkmagenta
#8B008B
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2F8E #2F9C3D
analogous
#732F9C #9C2F8E #9C2F58
triadic
#9C2F8E #8E9C2F #2F8E9C
tetradic
#9C2F8E #9C732F #2F9C3D #2F589C
square
#9C2F8E #9C732F #2F9C3D #2F589C
split-complementary
#9C2F8E #589C2F #2F9C73
monochromatic
#3E1338 #6D2163 #9C2F8E #C642B5 #D471C8
Accessibility & contrast
On white
6.54
#9C2F8E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#9C2F8E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2F8E
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2F8E | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5391
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#A3395B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9c2f8e; /* rgb */ color: rgb(156, 47, 142); /* oklch */ color: oklch(50.3% 0.179 333.5);
Tailwind
colors: {
custom: {
50: '#bc71af',
500: '#9c2f8e',
950: '#000000',
},
}SCSS
$custom: #9c2f8e; $custom-light: #bc71af; $custom-dark: #000000;
JSON
{
"hex": "#9c2f8e",
"rgb": {
"r": 156,
"g": 47,
"b": 142
},
"hsl": {
"h": 307.706,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.50349,
"c": 0.17916,
"h": 333.5
},
"luminance": 0.11054
}Semantic roles & 50–950 ramp
primary
#9C2F8E
secondary
#6BBC75
accent
#DD5E4B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F