#8A3D74#8A3D74
#8A3D74 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.0% C 0.125 H 339.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3D74 |
|---|---|
| RGB | rgb(138, 61, 116) |
| HSL | hsl(317, 39%, 39%) |
| HSV | hsv(317, 56%, 54%) |
| CMYK | cmyk(0%, 55.8%, 15.9%, 45.9%) |
| CIE-LAB | lab(37.85, 39.90, -16.20) |
| CIE-LCH | lch(37.85, 43.07, 337.91°) |
| OKLab | oklab(48.05% 0.1177 -0.0435) |
| OKLCH | oklch(48.05% 0.125 339.7) |
| XYZ | xyz(15.3026, 10.0029, 17.6444) |
| Luminance | 0.1000 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 2.67
Light Eggplant
#894585
ΔE00 4.24
Grape
#6C3461
ΔE00 6.72
Warm Purple
#952E8F
ΔE00 6.93
Purplish
#94568C
ΔE00 7.52
Red Violet
#9E0168
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3D74 #3D8A53
analogous
#7A3D8A #8A3D74 #8A3D4E
triadic
#8A3D74 #748A3D #3D748A
tetradic
#8A3D74 #8A7A3D #3D8A53 #3D4E8A
square
#8A3D74 #8A7A3D #3D8A53 #3D4E8A
split-complementary
#8A3D74 #4E8A3D #3D8A7A
monochromatic
#35172D #602A50 #8A3D74 #B25297 #C57CB0
Accessibility & contrast
On white
7.00
#8A3D74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#8A3D74 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3D74
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3D74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3D74 | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405176
Deuteranopia (green-blind)
#565E72
Tritanopia (blue-blind)
#913F53
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8a3d74; /* rgb */ color: rgb(138, 61, 116); /* oklch */ color: oklch(48.0% 0.125 339.7);
Tailwind
colors: {
custom: {
50: '#ae769c',
500: '#8a3d74',
950: '#000000',
},
}SCSS
$custom: #8a3d74; $custom-light: #ae769c; $custom-dark: #000000;
JSON
{
"hex": "#8a3d74",
"rgb": {
"r": 138,
"g": 61,
"b": 116
},
"hsl": {
"h": 317.143,
"s": 38.693,
"l": 39.02
},
"oklch": {
"l": 0.48048,
"c": 0.12544,
"h": 339.7
},
"luminance": 0.10002
}Semantic roles & 50–950 ramp
primary
#8A3D74
secondary
#74AF85
accent
#CF7B59
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E