#9A217A#9A217A
#9A217A is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.180 H 341.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9A217A |
|---|---|
| RGB | rgb(154, 33, 122) |
| HSL | hsl(316, 65%, 37%) |
| HSV | hsv(316, 79%, 60%) |
| CMYK | cmyk(0%, 78.6%, 20.8%, 39.6%) |
| CIE-LAB | lab(36.68, 56.76, -21.53) |
| CIE-LCH | lch(36.68, 60.70, 339.23°) |
| OKLab | oklab(47.8% 0.1702 -0.058) |
| OKLCH | oklch(47.8% 0.18 341.2) |
| XYZ | xyz(17.3837, 9.3647, 19.3006) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.36
Warm Purple
#952E8F
ΔE00 4.87
Barney Purple
#A00498
ΔE00 6.15
Darkmagenta
#8B008B
ΔE00 7.15
Light Eggplant
#894585
ΔE00 7.17
Deep Magenta
#A0025C
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A217A #219A41
analogous
#7E219A #9A217A #9A213E
triadic
#9A217A #7A9A21 #217A9A
tetradic
#9A217A #9A7E21 #219A41 #213E9A
square
#9A217A #9A7E21 #219A41 #213E9A
split-complementary
#9A217A #3E9A21 #219A7E
monochromatic
#350B2A #681652 #9A217A #CC2CA2 #DC5AB9
Accessibility & contrast
On white
7.31
#9A217A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9A217A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A217A
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A217A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A217A | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4A7C
Deuteranopia (green-blind)
#535D77
Tritanopia (blue-blind)
#A4244B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9a217a; /* rgb */ color: rgb(154, 33, 122); /* oklch */ color: oklch(47.8% 0.180 341.2);
Tailwind
colors: {
custom: {
50: '#bc6aa0',
500: '#9a217a',
950: '#000000',
},
}SCSS
$custom: #9a217a; $custom-light: #bc6aa0; $custom-dark: #000000;
JSON
{
"hex": "#9a217a",
"rgb": {
"r": 154,
"g": 33,
"b": 122
},
"hsl": {
"h": 315.868,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.478,
"c": 0.1798,
"h": 341.2
},
"luminance": 0.09363
}Semantic roles & 50–950 ramp
primary
#9A217A
secondary
#57C073
accent
#E86C40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070F
muted
#817A7E