#8A3A77#8A3A77
#8A3A77 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.8% C 0.133 H 337.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3A77 |
|---|---|
| RGB | rgb(138, 58, 119) |
| HSL | hsl(314, 41%, 38%) |
| HSV | hsv(314, 58%, 54%) |
| CMYK | cmyk(0%, 58%, 13.8%, 45.9%) |
| CIE-LAB | lab(37.41, 41.91, -18.73) |
| CIE-LCH | lch(37.41, 45.90, 335.91°) |
| OKLab | oklab(47.77% 0.1228 -0.0506) |
| OKLCH | oklch(47.77% 0.133 337.6) |
| XYZ | xyz(15.3242, 9.7625, 18.5264) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.05
Light Eggplant
#894585
ΔE00 3.77
Warm Purple
#952E8F
ΔE00 5.77
Grape
#6C3461
ΔE00 6.74
Red Violet
#9E0168
ΔE00 7.50
Purplish
#94568C
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3A77 #3A8A4D
analogous
#753A8A #8A3A77 #8A3A4F
triadic
#8A3A77 #778A3A #3A778A
tetradic
#8A3A77 #8A753A #3A8A4D #3A4F8A
square
#8A3A77 #8A753A #3A8A4D #3A4F8A
split-complementary
#8A3A77 #4F8A3A #3A8A75
monochromatic
#34162D #5F2852 #8A3A77 #B44D9C #C678B4
Accessibility & contrast
On white
7.11
#8A3A77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#8A3A77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A3A77
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3A77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3A77 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5079
Deuteranopia (green-blind)
#545D75
Tritanopia (blue-blind)
#913D53
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8a3a77; /* rgb */ color: rgb(138, 58, 119); /* oklch */ color: oklch(47.8% 0.133 337.6);
Tailwind
colors: {
custom: {
50: '#ae749e',
500: '#8a3a77',
950: '#000000',
},
}SCSS
$custom: #8a3a77; $custom-light: #ae749e; $custom-dark: #000000;
JSON
{
"hex": "#8a3a77",
"rgb": {
"r": 138,
"g": 58,
"b": 119
},
"hsl": {
"h": 314.25,
"s": 40.816,
"l": 38.431
},
"oklch": {
"l": 0.47768,
"c": 0.13283,
"h": 337.6
},
"luminance": 0.09761
}Semantic roles & 50–950 ramp
primary
#8A3A77
secondary
#70B07F
accent
#D17457
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E