#8A2B77#8A2B77
#8A2B77 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.156 H 336.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2B77 |
|---|---|
| RGB | rgb(138, 43, 119) |
| HSL | hsl(312, 52%, 35%) |
| HSV | hsv(312, 69%, 54%) |
| CMYK | cmyk(0%, 68.8%, 13.8%, 45.9%) |
| CIE-LAB | lab(34.93, 48.70, -22.58) |
| CIE-LCH | lch(34.93, 53.68, 335.13°) |
| OKLab | oklab(45.95% 0.143 -0.0613) |
| OKLCH | oklch(45.95% 0.156 336.8) |
| XYZ | xyz(14.6751, 8.4642, 18.3100) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.68
Bruise
#7E4071
ΔE00 5.44
Light Eggplant
#894585
ΔE00 5.82
Darkish Purple
#751973
ΔE00 5.91
Red Violet
#9E0168
ΔE00 6.24
Darkmagenta
#8B008B
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2B77 #2B8A3E
analogous
#6D2B8A #8A2B77 #8A2B47
triadic
#8A2B77 #778A2B #2B778A
tetradic
#8A2B77 #8A6D2B #2B8A3E #2B478A
square
#8A2B77 #8A6D2B #2B8A3E #2B478A
split-complementary
#8A2B77 #478A2B #2B8A6D
monochromatic
#2D0E27 #5B1C4F #8A2B77 #B93A9F #CE61B8
Accessibility & contrast
On white
7.80
#8A2B77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#8A2B77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2B77
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2B77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2B77 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4979
Deuteranopia (green-blind)
#4C5775
Tritanopia (blue-blind)
#91304D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8a2b77; /* rgb */ color: rgb(138, 43, 119); /* oklch */ color: oklch(46.0% 0.156 336.8);
Tailwind
colors: {
custom: {
50: '#af6c9e',
500: '#8a2b77',
950: '#000000',
},
}SCSS
$custom: #8a2b77; $custom-light: #af6c9e; $custom-dark: #000000;
JSON
{
"hex": "#8a2b77",
"rgb": {
"r": 138,
"g": 43,
"b": 119
},
"hsl": {
"h": 312,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.4595,
"c": 0.15558,
"h": 336.8
},
"luminance": 0.08463
}Semantic roles & 50–950 ramp
primary
#8A2B77
secondary
#5DB46E
accent
#DC694C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E