#8A3A79#8A3A79
#8A3A79 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.9% C 0.134 H 336.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3A79 |
|---|---|
| RGB | rgb(138, 58, 121) |
| HSL | hsl(313, 41%, 38%) |
| HSV | hsv(313, 58%, 54%) |
| CMYK | cmyk(0%, 58%, 12.3%, 45.9%) |
| CIE-LAB | lab(37.50, 42.24, -19.84) |
| CIE-LCH | lch(37.50, 46.67, 334.84°) |
| OKLab | oklab(47.86% 0.1233 -0.0537) |
| OKLCH | oklch(47.86% 0.134 336.5) |
| XYZ | xyz(15.4456, 9.8110, 19.1657) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.24
Light Eggplant
#894585
ΔE00 3.42
Warm Purple
#952E8F
ΔE00 5.33
Grape
#6C3461
ΔE00 6.91
Red Violet
#9E0168
ΔE00 7.71
Purplish
#94568C
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3A79 #3A8A4B
analogous
#733A8A #8A3A79 #8A3A51
triadic
#8A3A79 #798A3A #3A798A
tetradic
#8A3A79 #8A733A #3A8A4B #3A518A
square
#8A3A79 #8A733A #3A8A4B #3A518A
split-complementary
#8A3A79 #518A3A #3A8A73
monochromatic
#34162D #5F2853 #8A3A79 #B44D9E #C678B6
Accessibility & contrast
On white
7.09
#8A3A79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#8A3A79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A3A79
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3A79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3A79 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B517B
Deuteranopia (green-blind)
#535D77
Tritanopia (blue-blind)
#913E54
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8a3a79; /* rgb */ color: rgb(138, 58, 121); /* oklch */ color: oklch(47.9% 0.134 336.5);
Tailwind
colors: {
custom: {
50: '#ae74a0',
500: '#8a3a79',
950: '#000000',
},
}SCSS
$custom: #8a3a79; $custom-light: #ae74a0; $custom-dark: #000000;
JSON
{
"hex": "#8a3a79",
"rgb": {
"r": 138,
"g": 58,
"b": 121
},
"hsl": {
"h": 312.75,
"s": 40.816,
"l": 38.431
},
"oklch": {
"l": 0.47863,
"c": 0.13444,
"h": 336.5
},
"luminance": 0.0981
}Semantic roles & 50–950 ramp
primary
#8A3A79
secondary
#70B07E
accent
#D17157
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E