#8A3379#8A3379

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

Color values

HEX#8A3379
RGBrgb(138, 51, 121)
HSLhsl(312, 46%, 37%)
HSVhsv(312, 63%, 54%)
CMYKcmyk(0%, 63%, 12.3%, 45.9%)
CIE-LABlab(36.28, 45.57, -21.74)
CIE-LCHlch(36.28, 50.49, 334.50°)
OKLaboklab(46.96% 0.1331 -0.059)
OKLCHoklch(46.96% 0.146 336.1)
XYZxyz(15.1164, 9.1526, 19.0559)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3379 #338A44
analogous
#70338A #8A3379 #8A334E
triadic
#8A3379 #798A33 #33798A
tetradic
#8A3379 #8A7033 #338A44 #334E8A
square
#8A3379 #8A7033 #338A44 #334E8A
split-complementary
#8A3379 #4E8A33 #338A70
monochromatic
#31122B #5D2252 #8A3379 #B744A0 #C96EB8

Accessibility & contrast

On white

7.42
#8A3379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A3379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3379
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3379#FFFFFF#000000##FFFFFF
##8A33791.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7B
Deuteranopia (green-blind)
#4F5A77
Tritanopia (blue-blind)
#913851
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3379;
/* rgb */ color: rgb(138, 51, 121);
/* oklch */ color: oklch(47.0% 0.146 336.1);
Tailwind
colors: {
  custom: {
    50: '#af71a0',
    500: '#8a3379',
    950: '#000000',
  },
}
SCSS
$custom: #8a3379;
$custom-light: #af71a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3379",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 311.724,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46963,
    "c": 0.14555,
    "h": 336.1
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#8A3379
secondary
#67B176
accent
#D66C52
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3379

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

Preview Lab → · Contrast checker → · Palette generator →

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