#8A3A73#8A3A73
#8A3A73 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.6% C 0.130 H 340.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3A73 |
|---|---|
| RGB | rgb(138, 58, 115) |
| HSL | hsl(317, 41%, 38%) |
| HSV | hsv(317, 58%, 54%) |
| CMYK | cmyk(0%, 58%, 16.7%, 45.9%) |
| CIE-LAB | lab(37.24, 41.25, -16.50) |
| CIE-LCH | lch(37.24, 44.43, 338.19°) |
| OKLab | oklab(47.59% 0.1219 -0.0443) |
| OKLCH | oklch(47.59% 0.13 340) |
| XYZ | xyz(15.0891, 9.6684, 17.2878) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 2.93
Light Eggplant
#894585
ΔE00 4.57
Grape
#6C3461
ΔE00 6.53
Warm Purple
#952E8F
ΔE00 6.70
Red Violet
#9E0168
ΔE00 7.14
Purplish
#94568C
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3A73 #3A8A51
analogous
#793A8A #8A3A73 #8A3A4B
triadic
#8A3A73 #738A3A #3A738A
tetradic
#8A3A73 #8A793A #3A8A51 #3A4B8A
square
#8A3A73 #8A793A #3A8A51 #3A4B8A
split-complementary
#8A3A73 #4B8A3A #3A8A79
monochromatic
#34162B #5F284F #8A3A73 #B44D97 #C678B0
Accessibility & contrast
On white
7.16
#8A3A73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#8A3A73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A3A73
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3A73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3A73 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5075
Deuteranopia (green-blind)
#555C71
Tritanopia (blue-blind)
#913C51
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8a3a73; /* rgb */ color: rgb(138, 58, 115); /* oklch */ color: oklch(47.6% 0.130 340.0);
Tailwind
colors: {
custom: {
50: '#ae749b',
500: '#8a3a73',
950: '#000000',
},
}SCSS
$custom: #8a3a73; $custom-light: #ae749b; $custom-dark: #000000;
JSON
{
"hex": "#8a3a73",
"rgb": {
"r": 138,
"g": 58,
"b": 115
},
"hsl": {
"h": 317.25,
"s": 40.816,
"l": 38.431
},
"oklch": {
"l": 0.47585,
"c": 0.12972,
"h": 340
},
"luminance": 0.09667
}Semantic roles & 50–950 ramp
primary
#8A3A73
secondary
#70B082
accent
#D17A57
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E