#9B217F#9B217F
#9B217F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.184 H 339.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9B217F |
|---|---|
| RGB | rgb(155, 33, 127) |
| HSL | hsl(314, 65%, 37%) |
| HSV | hsv(314, 79%, 61%) |
| CMYK | cmyk(0%, 78.7%, 18.1%, 39.2%) |
| CIE-LAB | lab(37.10, 57.69, -23.98) |
| CIE-LCH | lch(37.10, 62.48, 337.43°) |
| OKLab | oklab(48.21% 0.1718 -0.0649) |
| OKLCH | oklch(48.21% 0.184 339.3) |
| XYZ | xyz(17.8927, 9.5904, 20.9834) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.95
Barney Purple
#A00498
ΔE00 5.19
Red Violet
#9E0168
ΔE00 5.25
Darkmagenta
#8B008B
ΔE00 6.52
Light Eggplant
#894585
ΔE00 6.90
Purple
#800080
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B217F #219B3D
analogous
#7A219B #9B217F #9B2142
triadic
#9B217F #7F9B21 #217F9B
tetradic
#9B217F #9B7A21 #219B3D #21429B
square
#9B217F #9B7A21 #219B3D #21429B
split-complementary
#9B217F #429B21 #219B7A
monochromatic
#360C2C #691656 #9B217F #CD2CA8 #DC5ABE
Accessibility & contrast
On white
7.20
#9B217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9B217F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B217F
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B217F | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294B81
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#A4264E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9b217f; /* rgb */ color: rgb(155, 33, 127); /* oklch */ color: oklch(48.2% 0.184 339.3);
Tailwind
colors: {
custom: {
50: '#bc6ba4',
500: '#9b217f',
950: '#000000',
},
}SCSS
$custom: #9b217f; $custom-light: #bc6ba4; $custom-dark: #000000;
JSON
{
"hex": "#9b217f",
"rgb": {
"r": 155,
"g": 33,
"b": 127
},
"hsl": {
"h": 313.77,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.48214,
"c": 0.18368,
"h": 339.3
},
"luminance": 0.09589
}Semantic roles & 50–950 ramp
primary
#9B217F
secondary
#58C070
accent
#E86640
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F