#9B197F#9B197F
#9B197F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.7% C 0.191 H 339.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9B197F |
|---|---|
| RGB | rgb(155, 25, 127) |
| HSL | hsl(313, 72%, 35%) |
| HSV | hsv(313, 84%, 61%) |
| CMYK | cmyk(0%, 83.9%, 18.1%, 39.2%) |
| CIE-LAB | lab(36.36, 59.81, -25.12) |
| CIE-LCH | lch(36.36, 64.87, 337.21°) |
| OKLab | oklab(47.69% 0.1782 -0.0681) |
| OKLCH | oklch(47.69% 0.191 339.1) |
| XYZ | xyz(17.6965, 9.1979, 20.9180) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.13
Barney Purple
#A00498
ΔE00 4.80
Red Violet
#9E0168
ΔE00 5.19
Darkmagenta
#8B008B
ΔE00 5.90
Purple
#800080
ΔE00 7.03
Light Eggplant
#894585
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B197F #199B35
analogous
#76199B #9B197F #9B193E
triadic
#9B197F #7F9B19 #197F9B
tetradic
#9B197F #9B7619 #199B35 #193E9B
square
#9B197F #9B7619 #199B35 #193E9B
split-complementary
#9B197F #3E9B19 #199B76
monochromatic
#320829 #661154 #9B197F #D022AA #E24CC2
Accessibility & contrast
On white
7.40
#9B197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#9B197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B197F
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B197F | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234982
Deuteranopia (green-blind)
#505D7C
Tritanopia (blue-blind)
#A4204C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b197f; /* rgb */ color: rgb(155, 25, 127); /* oklch */ color: oklch(47.7% 0.191 339.1);
Tailwind
colors: {
custom: {
50: '#bd68a4',
500: '#9b197f',
950: '#000000',
},
}SCSS
$custom: #9b197f; $custom-light: #bd68a4; $custom-dark: #000000;
JSON
{
"hex": "#9b197f",
"rgb": {
"r": 155,
"g": 25,
"b": 127
},
"hsl": {
"h": 312.923,
"s": 72.222,
"l": 35.294
},
"oklch": {
"l": 0.47686,
"c": 0.19081,
"h": 339.1
},
"luminance": 0.09196
}Semantic roles & 50–950 ramp
primary
#9B197F
secondary
#4CC466
accent
#EF6039
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F