#9D207F#9D207F
#9D207F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.186 H 340.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9D207F |
|---|---|
| RGB | rgb(157, 32, 127) |
| HSL | hsl(314, 66%, 37%) |
| HSV | hsv(314, 80%, 62%) |
| CMYK | cmyk(0%, 79.6%, 19.1%, 38.4%) |
| CIE-LAB | lab(37.36, 58.45, -23.53) |
| CIE-LCH | lch(37.36, 63.01, 338.07°) |
| OKLab | oklab(48.47% 0.1746 -0.0636) |
| OKLCH | oklch(48.47% 0.186 340) |
| XYZ | xyz(18.2524, 9.7353, 20.9924) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.19
Red Violet
#9E0168
ΔE00 5.08
Barney Purple
#A00498
ΔE00 5.31
Darkmagenta
#8B008B
ΔE00 6.82
Light Eggplant
#894585
ΔE00 7.09
Bruise
#7E4071
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D207F #209D3E
analogous
#7D209D #9D207F #9D2041
triadic
#9D207F #7F9D20 #207F9D
tetradic
#9D207F #9D7D20 #209D3E #20419D
square
#9D207F #9D7D20 #209D3E #20419D
split-complementary
#9D207F #419D20 #209D7D
monochromatic
#370B2D #6A1656 #9D207F #D02AA8 #DD5ABE
Accessibility & contrast
On white
7.13
#9D207F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9D207F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D207F
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D207F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D207F | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#A7254E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9d207f; /* rgb */ color: rgb(157, 32, 127); /* oklch */ color: oklch(48.5% 0.186 340.0);
Tailwind
colors: {
custom: {
50: '#be6ba4',
500: '#9d207f',
950: '#000000',
},
}SCSS
$custom: #9d207f; $custom-light: #be6ba4; $custom-dark: #000000;
JSON
{
"hex": "#9d207f",
"rgb": {
"r": 157,
"g": 32,
"b": 127
},
"hsl": {
"h": 314.4,
"s": 66.138,
"l": 37.059
},
"oklch": {
"l": 0.48474,
"c": 0.18583,
"h": 340
},
"luminance": 0.09733
}Semantic roles & 50–950 ramp
primary
#9D207F
secondary
#57C171
accent
#E9683F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F