#8A3376#8A3376
#8A3376 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.8% C 0.143 H 337.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3376 |
|---|---|
| RGB | rgb(138, 51, 118) |
| HSL | hsl(314, 46%, 37%) |
| HSV | hsv(314, 63%, 54%) |
| CMYK | cmyk(0%, 63%, 14.5%, 45.9%) |
| CIE-LAB | lab(36.14, 45.08, -20.08) |
| CIE-LCH | lch(36.14, 49.35, 335.99°) |
| OKLab | oklab(46.82% 0.1325 -0.0543) |
| OKLCH | oklch(46.82% 0.143 337.7) |
| XYZ | xyz(14.9353, 9.0802, 18.1021) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.05
Light Eggplant
#894585
ΔE00 4.75
Warm Purple
#952E8F
ΔE00 5.22
Red Violet
#9E0168
ΔE00 6.59
Grape
#6C3461
ΔE00 6.66
Darkish Purple
#751973
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3376 #338A47
analogous
#73338A #8A3376 #8A334B
triadic
#8A3376 #768A33 #33768A
tetradic
#8A3376 #8A7333 #338A47 #334B8A
square
#8A3376 #8A7333 #338A47 #334B8A
split-complementary
#8A3376 #4B8A33 #338A73
monochromatic
#31122A #5D2250 #8A3376 #B7449C #C96EB4
Accessibility & contrast
On white
7.46
#8A3376 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#8A3376 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A3376
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3376 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3376 | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364C78
Deuteranopia (green-blind)
#505A74
Tritanopia (blue-blind)
#91374F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8a3376; /* rgb */ color: rgb(138, 51, 118); /* oklch */ color: oklch(46.8% 0.143 337.7);
Tailwind
colors: {
custom: {
50: '#af709d',
500: '#8a3376',
950: '#000000',
},
}SCSS
$custom: #8a3376; $custom-light: #af709d; $custom-dark: #000000;
JSON
{
"hex": "#8a3376",
"rgb": {
"r": 138,
"g": 51,
"b": 118
},
"hsl": {
"h": 313.793,
"s": 46.032,
"l": 37.059
},
"oklch": {
"l": 0.46816,
"c": 0.14321,
"h": 337.7
},
"luminance": 0.09079
}Semantic roles & 50–950 ramp
primary
#8A3376
secondary
#67B178
accent
#D67052
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E