#8A3474#8A3474

#8A3474 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.8% C 0.140 H 338.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8A3474
RGBrgb(138, 52, 116)
HSLhsl(315, 45%, 37%)
HSVhsv(315, 62%, 54%)
CMYKcmyk(0%, 62.3%, 15.9%, 45.9%)
CIE-LABlab(36.22, 44.30, -18.71)
CIE-LCHlch(36.22, 48.08, 337.11°)
OKLaboklab(46.85% 0.1307 -0.0504)
OKLCHoklch(46.85% 0.14 338.9)
XYZxyz(14.8619, 9.1215, 17.4975)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3474 #348A4A
analogous
#75348A #8A3474 #8A3449
triadic
#8A3474 #748A34 #34748A
tetradic
#8A3474 #8A7534 #348A4A #34498A
square
#8A3474 #8A7534 #348A4A #34498A
split-complementary
#8A3474 #498A34 #348A75
monochromatic
#311329 #5E234F #8A3474 #B64599 #C96FB2

Accessibility & contrast

On white

7.44
#8A3474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8A3474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3474
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3474#FFFFFF#000000##FFFFFF
##8A34741.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D76
Deuteranopia (green-blind)
#515A72
Tritanopia (blue-blind)
#91374F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3474;
/* rgb */ color: rgb(138, 52, 116);
/* oklch */ color: oklch(46.8% 0.140 338.9);
Tailwind
colors: {
  custom: {
    50: '#af719c',
    500: '#8a3474',
    950: '#000000',
  },
}
SCSS
$custom: #8a3474;
$custom-light: #af719c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3474",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 315.349,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46845,
    "c": 0.14013,
    "h": 338.9
  },
  "luminance": 0.0912
}

Semantic roles & 50–950 ramp

primary
#8A3474
secondary
#69B17B
accent
#D57453
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3474

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

Preview Lab → · Contrast checker → · Palette generator →

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