#8A3578#8A3578
#8A3578 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.2% C 0.142 H 336.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3578 |
|---|---|
| RGB | rgb(138, 53, 120) |
| HSL | hsl(313, 45%, 37%) |
| HSV | hsv(313, 62%, 54%) |
| CMYK | cmyk(0%, 61.6%, 13%, 45.9%) |
| CIE-LAB | lab(36.57, 44.48, -20.66) |
| CIE-LCH | lch(36.57, 49.04, 335.08°) |
| OKLab | oklab(47.16% 0.1301 -0.056) |
| OKLCH | oklch(47.16% 0.142 336.7) |
| XYZ | xyz(15.1447, 9.3068, 18.7644) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.89
Light Eggplant
#894585
ΔE00 4.23
Warm Purple
#952E8F
ΔE00 4.95
Grape
#6C3461
ΔE00 6.80
Red Violet
#9E0168
ΔE00 7.03
Darkish Purple
#751973
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3578 #358A47
analogous
#72358A #8A3578 #8A354D
triadic
#8A3578 #788A35 #35788A
tetradic
#8A3578 #8A7235 #358A47 #354D8A
square
#8A3578 #8A7235 #358A47 #354D8A
split-complementary
#8A3578 #4D8A35 #358A72
monochromatic
#32132B #5E2452 #8A3578 #B6469E #C871B6
Accessibility & contrast
On white
7.34
#8A3578 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#8A3578 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A3578
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3578 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3578 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374E7A
Deuteranopia (green-blind)
#505B76
Tritanopia (blue-blind)
#913951
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8a3578; /* rgb */ color: rgb(138, 53, 120); /* oklch */ color: oklch(47.2% 0.142 336.7);
Tailwind
colors: {
custom: {
50: '#af729f',
500: '#8a3578',
950: '#000000',
},
}SCSS
$custom: #8a3578; $custom-light: #af729f; $custom-dark: #000000;
JSON
{
"hex": "#8a3578",
"rgb": {
"r": 138,
"g": 53,
"b": 120
},
"hsl": {
"h": 312.706,
"s": 44.503,
"l": 37.451
},
"oklch": {
"l": 0.47162,
"c": 0.14167,
"h": 336.7
},
"luminance": 0.09306
}Semantic roles & 50–950 ramp
primary
#8A3578
secondary
#6AB179
accent
#D46F54
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E