#8A3476#8A3476

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

Color values

HEX#8A3476
RGBrgb(138, 52, 118)
HSLhsl(314, 45%, 37%)
HSVhsv(314, 62%, 54%)
CMYKcmyk(0%, 62.3%, 14.5%, 45.9%)
CIE-LABlab(36.31, 44.62, -19.82)
CIE-LCHlch(36.31, 48.82, 336.05°)
OKLaboklab(46.94% 0.1311 -0.0536)
OKLCHoklch(46.94% 0.142 337.8)
XYZxyz(14.9795, 9.1685, 18.1168)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3476 #348A48
analogous
#73348A #8A3476 #8A344B
triadic
#8A3476 #768A34 #34768A
tetradic
#8A3476 #8A7334 #348A48 #344B8A
square
#8A3476 #8A7334 #348A48 #344B8A
split-complementary
#8A3476 #4B8A34 #348A73
monochromatic
#31132A #5E2350 #8A3476 #B6459C #C96FB4

Accessibility & contrast

On white

7.41
#8A3476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3476
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3476#FFFFFF#000000##FFFFFF
##8A34761.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D78
Deuteranopia (green-blind)
#515A74
Tritanopia (blue-blind)
#913750
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3476;
/* rgb */ color: rgb(138, 52, 118);
/* oklch */ color: oklch(46.9% 0.142 337.8);
Tailwind
colors: {
  custom: {
    50: '#af719d',
    500: '#8a3476',
    950: '#000000',
  },
}
SCSS
$custom: #8a3476;
$custom-light: #af719d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3476",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 118
  },
  "hsl": {
    "h": 313.953,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4694,
    "c": 0.14166,
    "h": 337.8
  },
  "luminance": 0.09167
}

Semantic roles & 50–950 ramp

primary
#8A3476
secondary
#69B17A
accent
#D57153
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3476

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

Preview Lab → · Contrast checker → · Palette generator →

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