#9C217F#9C217F
#9C217F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.184 H 339.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9C217F |
|---|---|
| RGB | rgb(156, 33, 127) |
| HSL | hsl(314, 65%, 37%) |
| HSV | hsv(314, 79%, 61%) |
| CMYK | cmyk(0%, 78.8%, 18.6%, 38.8%) |
| CIE-LAB | lab(37.28, 57.93, -23.68) |
| CIE-LCH | lch(37.28, 62.58, 337.77°) |
| OKLab | oklab(48.38% 0.1728 -0.064) |
| OKLCH | oklch(48.38% 0.184 339.7) |
| XYZ | xyz(18.0854, 9.6898, 20.9924) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.06
Red Violet
#9E0168
ΔE00 5.17
Barney Purple
#A00498
ΔE00 5.28
Darkmagenta
#8B008B
ΔE00 6.72
Light Eggplant
#894585
ΔE00 6.95
Bruise
#7E4071
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C217F #219C3E
analogous
#7B219C #9C217F #9C2142
triadic
#9C217F #7F9C21 #217F9C
tetradic
#9C217F #9C7B21 #219C3E #21429C
square
#9C217F #9C7B21 #219C3E #21429C
split-complementary
#9C217F #429C21 #219C7B
monochromatic
#370C2D #691656 #9C217F #CF2CA8 #DC5BBE
Accessibility & contrast
On white
7.15
#9C217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9C217F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C217F
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C217F | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#535F7C
Tritanopia (blue-blind)
#A5264E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c217f; /* rgb */ color: rgb(156, 33, 127); /* oklch */ color: oklch(48.4% 0.184 339.7);
Tailwind
colors: {
custom: {
50: '#bd6ba4',
500: '#9c217f',
950: '#000000',
},
}SCSS
$custom: #9c217f; $custom-light: #bd6ba4; $custom-dark: #000000;
JSON
{
"hex": "#9c217f",
"rgb": {
"r": 156,
"g": 33,
"b": 127
},
"hsl": {
"h": 314.146,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.4838,
"c": 0.18427,
"h": 339.7
},
"luminance": 0.09688
}Semantic roles & 50–950 ramp
primary
#9C217F
secondary
#58C171
accent
#E86740
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F