#8A3579#8A3579

#8A3579 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.2% C 0.142 H 336.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8A3579
RGBrgb(138, 53, 121)
HSLhsl(312, 45%, 37%)
HSVhsv(312, 62%, 54%)
CMYKcmyk(0%, 61.6%, 12.3%, 45.9%)
CIE-LABlab(36.61, 44.65, -21.22)
CIE-LCHlch(36.61, 49.43, 334.58°)
OKLaboklab(47.21% 0.1303 -0.0575)
OKLCHoklch(47.21% 0.142 336.2)
XYZxyz(15.2057, 9.3312, 19.0857)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3579 #358A46
analogous
#71358A #8A3579 #8A354E
triadic
#8A3579 #798A35 #35798A
tetradic
#8A3579 #8A7135 #358A46 #354E8A
square
#8A3579 #8A7135 #358A46 #354E8A
split-complementary
#8A3579 #4E8A35 #358A71
monochromatic
#32132B #5E2452 #8A3579 #B646A0 #C871B7

Accessibility & contrast

On white

7.33
#8A3579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8A3579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3579
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3579#FFFFFF#000000##FFFFFF
##8A35791.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7B
Deuteranopia (green-blind)
#505B77
Tritanopia (blue-blind)
#913952
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3579;
/* rgb */ color: rgb(138, 53, 121);
/* oklch */ color: oklch(47.2% 0.142 336.2);
Tailwind
colors: {
  custom: {
    50: '#af72a0',
    500: '#8a3579',
    950: '#000000',
  },
}
SCSS
$custom: #8a3579;
$custom-light: #af72a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3579",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 121
  },
  "hsl": {
    "h": 312,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4721,
    "c": 0.14247,
    "h": 336.2
  },
  "luminance": 0.0933
}

Semantic roles & 50–950 ramp

primary
#8A3579
secondary
#6AB178
accent
#D46D54
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3579

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

Preview Lab → · Contrast checker → · Palette generator →

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