#8A2A77#8A2A77
#8A2A77 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.157 H 336.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2A77 |
|---|---|
| RGB | rgb(138, 42, 119) |
| HSL | hsl(312, 53%, 35%) |
| HSV | hsv(312, 70%, 54%) |
| CMYK | cmyk(0%, 69.6%, 13.8%, 45.9%) |
| CIE-LAB | lab(34.79, 49.11, -22.80) |
| CIE-LCH | lch(34.79, 54.14, 335.09°) |
| OKLab | oklab(45.85% 0.1442 -0.062) |
| OKLCH | oklch(45.85% 0.157 336.7) |
| XYZ | xyz(14.6392, 8.3924, 18.2981) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.68
Bruise
#7E4071
ΔE00 5.60
Darkish Purple
#751973
ΔE00 5.78
Light Eggplant
#894585
ΔE00 5.96
Red Violet
#9E0168
ΔE00 6.21
Darkmagenta
#8B008B
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2A77 #2A8A3D
analogous
#6D2A8A #8A2A77 #8A2A47
triadic
#8A2A77 #778A2A #2A778A
tetradic
#8A2A77 #8A6D2A #2A8A3D #2A478A
square
#8A2A77 #8A6D2A #2A8A3D #2A478A
split-complementary
#8A2A77 #478A2A #2A8A6D
monochromatic
#2C0D26 #5B1C4F #8A2A77 #B9389F #CF60B9
Accessibility & contrast
On white
7.84
#8A2A77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#8A2A77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2A77
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2A77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2A77 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4879
Deuteranopia (green-blind)
#4B5775
Tritanopia (blue-blind)
#912F4D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8a2a77; /* rgb */ color: rgb(138, 42, 119); /* oklch */ color: oklch(45.8% 0.157 336.7);
Tailwind
colors: {
custom: {
50: '#af6c9e',
500: '#8a2a77',
950: '#000000',
},
}SCSS
$custom: #8a2a77; $custom-light: #af6c9e; $custom-dark: #000000;
JSON
{
"hex": "#8a2a77",
"rgb": {
"r": 138,
"g": 42,
"b": 119
},
"hsl": {
"h": 311.875,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.45845,
"c": 0.15693,
"h": 336.7
},
"luminance": 0.08391
}Semantic roles & 50–950 ramp
primary
#8A2A77
secondary
#5BB46D
accent
#DD684B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E