#9A2F82#9A2F82
#9A2F82 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.169 H 338.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2F82 |
|---|---|
| RGB | rgb(154, 47, 130) |
| HSL | hsl(313, 53%, 39%) |
| HSV | hsv(313, 69%, 60%) |
| CMYK | cmyk(0%, 69.5%, 15.6%, 39.6%) |
| CIE-LAB | lab(38.75, 53.09, -23.27) |
| CIE-LCH | lch(38.75, 57.97, 336.33°) |
| OKLab | oklab(49.43% 0.1568 -0.063) |
| OKLCH | oklch(49.43% 0.169 338.1) |
| XYZ | xyz(18.3726, 10.5164, 22.1770) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.49
Light Eggplant
#894585
ΔE00 5.27
Barney Purple
#A00498
ΔE00 5.86
Red Violet
#9E0168
ΔE00 6.44
Ugly Purple
#A442A0
ΔE00 6.57
Bruise
#7E4071
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2F82 #2F9A47
analogous
#7D2F9A #9A2F82 #9A2F4D
triadic
#9A2F82 #829A2F #2F829A
tetradic
#9A2F82 #9A7D2F #2F9A47 #2F4D9A
square
#9A2F82 #9A7D2F #2F9A47 #2F4D9A
split-complementary
#9A2F82 #4D9A2F #2F9A7D
monochromatic
#3C1233 #6B215A #9A2F82 #C541A7 #D370BD
Accessibility & contrast
On white
6.77
#9A2F82 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9A2F82 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2F82
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2F82 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#335184
Deuteranopia (green-blind)
#56617F
Tritanopia (blue-blind)
#A23454
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9a2f82; /* rgb */ color: rgb(154, 47, 130); /* oklch */ color: oklch(49.4% 0.169 338.1);
Tailwind
colors: {
custom: {
50: '#bb71a6',
500: '#9a2f82',
950: '#000000',
},
}SCSS
$custom: #9a2f82; $custom-light: #bb71a6; $custom-dark: #000000;
JSON
{
"hex": "#9a2f82",
"rgb": {
"r": 154,
"g": 47,
"b": 130
},
"hsl": {
"h": 313.458,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.49427,
"c": 0.16901,
"h": 338.1
},
"luminance": 0.10515
}Semantic roles & 50–950 ramp
primary
#9A2F82
secondary
#6ABB7C
accent
#DD6C4B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F