#8A3B71#8A3B71
#8A3B71 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.6% C 0.127 H 341.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3B71 |
|---|---|
| RGB | rgb(138, 59, 113) |
| HSL | hsl(319, 40%, 39%) |
| HSV | hsv(319, 57%, 54%) |
| CMYK | cmyk(0%, 57.2%, 18.1%, 45.9%) |
| CIE-LAB | lab(37.34, 40.43, -15.10) |
| CIE-LCH | lch(37.34, 43.15, 339.52°) |
| OKLab | oklab(47.63% 0.1199 -0.0404) |
| OKLCH | oklch(47.63% 0.127 341.4) |
| XYZ | xyz(15.0261, 9.7247, 16.7052) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 2.94
Light Eggplant
#894585
ΔE00 4.99
Grape
#6C3461
ΔE00 6.54
Red Violet
#9E0168
ΔE00 7.19
Warm Purple
#952E8F
ΔE00 7.34
Dirty Purple
#734A65
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3B71 #3B8A54
analogous
#7B3B8A #8A3B71 #8A3B49
triadic
#8A3B71 #718A3B #3B718A
tetradic
#8A3B71 #8A7B3B #3B8A54 #3B498A
square
#8A3B71 #8A7B3B #3B8A54 #3B498A
split-complementary
#8A3B71 #498A3B #3B8A7B
monochromatic
#34162B #5F294E #8A3B71 #B44F94 #C679AE
Accessibility & contrast
On white
7.13
#8A3B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#8A3B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A3B71
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3B71 | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405073
Deuteranopia (green-blind)
#565D6F
Tritanopia (blue-blind)
#923C51
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8a3b71; /* rgb */ color: rgb(138, 59, 113); /* oklch */ color: oklch(47.6% 0.127 341.4);
Tailwind
colors: {
custom: {
50: '#ae759a',
500: '#8a3b71',
950: '#000000',
},
}SCSS
$custom: #8a3b71; $custom-light: #ae759a; $custom-dark: #000000;
JSON
{
"hex": "#8a3b71",
"rgb": {
"r": 138,
"g": 59,
"b": 113
},
"hsl": {
"h": 318.987,
"s": 40.102,
"l": 38.627
},
"oklch": {
"l": 0.47634,
"c": 0.12655,
"h": 341.4
},
"luminance": 0.09723
}Semantic roles & 50–950 ramp
primary
#8A3B71
secondary
#71AF85
accent
#D07E58
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E