#8A3A73#8A3A73

#8A3A73 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.6% C 0.130 H 340.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A3A73
RGBrgb(138, 58, 115)
HSLhsl(317, 41%, 38%)
HSVhsv(317, 58%, 54%)
CMYKcmyk(0%, 58%, 16.7%, 45.9%)
CIE-LABlab(37.24, 41.25, -16.50)
CIE-LCHlch(37.24, 44.43, 338.19°)
OKLaboklab(47.59% 0.1219 -0.0443)
OKLCHoklch(47.59% 0.13 340)
XYZxyz(15.0891, 9.6684, 17.2878)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A73 #3A8A51
analogous
#793A8A #8A3A73 #8A3A4B
triadic
#8A3A73 #738A3A #3A738A
tetradic
#8A3A73 #8A793A #3A8A51 #3A4B8A
square
#8A3A73 #8A793A #3A8A51 #3A4B8A
split-complementary
#8A3A73 #4B8A3A #3A8A79
monochromatic
#34162B #5F284F #8A3A73 #B44D97 #C678B0

Accessibility & contrast

On white

7.16
#8A3A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A3A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3A73
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A73#FFFFFF#000000##FFFFFF
##8A3A731.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5075
Deuteranopia (green-blind)
#555C71
Tritanopia (blue-blind)
#913C51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3a73;
/* rgb */ color: rgb(138, 58, 115);
/* oklch */ color: oklch(47.6% 0.130 340.0);
Tailwind
colors: {
  custom: {
    50: '#ae749b',
    500: '#8a3a73',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a73;
$custom-light: #ae749b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a73",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 115
  },
  "hsl": {
    "h": 317.25,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47585,
    "c": 0.12972,
    "h": 340
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#8A3A73
secondary
#70B082
accent
#D17A57
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3A73

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

Preview Lab → · Contrast checker → · Palette generator →

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