#8A3A71#8A3A71
#8A3A71 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.5% C 0.128 H 341.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3A71 |
|---|---|
| RGB | rgb(138, 58, 113) |
| HSL | hsl(319, 41%, 38%) |
| HSV | hsv(319, 58%, 54%) |
| CMYK | cmyk(0%, 58%, 18.1%, 45.9%) |
| CIE-LAB | lab(37.16, 40.93, -15.38) |
| CIE-LCH | lch(37.16, 43.72, 339.40°) |
| OKLab | oklab(47.5% 0.1214 -0.0412) |
| OKLCH | oklch(47.5% 0.128 341.3) |
| XYZ | xyz(14.9752, 9.6229, 16.6883) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.01
Light Eggplant
#894585
ΔE00 5.02
Grape
#6C3461
ΔE00 6.49
Red Violet
#9E0168
ΔE00 7.02
Warm Purple
#952E8F
ΔE00 7.19
Dirty Purple
#734A65
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3A71 #3A8A53
analogous
#7B3A8A #8A3A71 #8A3A49
triadic
#8A3A71 #718A3A #3A718A
tetradic
#8A3A71 #8A7B3A #3A8A53 #3A498A
square
#8A3A71 #8A7B3A #3A8A53 #3A498A
split-complementary
#8A3A71 #498A3A #3A8A7B
monochromatic
#34162A #5F284E #8A3A71 #B44D94 #C678AE
Accessibility & contrast
On white
7.18
#8A3A71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#8A3A71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A3A71
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3A71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3A71 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4F73
Deuteranopia (green-blind)
#565C6F
Tritanopia (blue-blind)
#923B50
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8a3a71; /* rgb */ color: rgb(138, 58, 113); /* oklch */ color: oklch(47.5% 0.128 341.3);
Tailwind
colors: {
custom: {
50: '#ae749a',
500: '#8a3a71',
950: '#000000',
},
}SCSS
$custom: #8a3a71; $custom-light: #ae749a; $custom-dark: #000000;
JSON
{
"hex": "#8a3a71",
"rgb": {
"r": 138,
"g": 58,
"b": 113
},
"hsl": {
"h": 318.75,
"s": 40.816,
"l": 38.431
},
"oklch": {
"l": 0.47495,
"c": 0.12823,
"h": 341.3
},
"luminance": 0.09622
}Semantic roles & 50–950 ramp
primary
#8A3A71
secondary
#70B084
accent
#D17D57
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E