#8A3477#8A3477

#8A3477 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.0% C 0.142 H 337.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8A3477
RGBrgb(138, 52, 119)
HSLhsl(313, 45%, 37%)
HSVhsv(313, 62%, 54%)
CMYKcmyk(0%, 62.3%, 13.8%, 45.9%)
CIE-LABlab(36.35, 44.78, -20.37)
CIE-LCHlch(36.35, 49.20, 335.54°)
OKLaboklab(46.99% 0.1313 -0.0551)
OKLCHoklch(46.99% 0.142 337.2)
XYZxyz(15.0392, 9.1924, 18.4314)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3477 #348A47
analogous
#72348A #8A3477 #8A344C
triadic
#8A3477 #778A34 #34778A
tetradic
#8A3477 #8A7234 #348A47 #344C8A
square
#8A3477 #8A7234 #348A47 #344C8A
split-complementary
#8A3477 #4C8A34 #348A72
monochromatic
#31132A #5E2351 #8A3477 #B6459D #C96FB5

Accessibility & contrast

On white

7.40
#8A3477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8A3477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3477
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3477#FFFFFF#000000##FFFFFF
##8A34771.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D79
Deuteranopia (green-blind)
#505A75
Tritanopia (blue-blind)
#913850
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3477;
/* rgb */ color: rgb(138, 52, 119);
/* oklch */ color: oklch(47.0% 0.142 337.2);
Tailwind
colors: {
  custom: {
    50: '#af719e',
    500: '#8a3477',
    950: '#000000',
  },
}
SCSS
$custom: #8a3477;
$custom-light: #af719e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3477",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 119
  },
  "hsl": {
    "h": 313.256,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46988,
    "c": 0.14244,
    "h": 337.2
  },
  "luminance": 0.09191
}

Semantic roles & 50–950 ramp

primary
#8A3477
secondary
#69B179
accent
#D57053
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3477

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8A3477 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva