#8A3A77#8A3A77

#8A3A77 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.8% C 0.133 H 337.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8A3A77
RGBrgb(138, 58, 119)
HSLhsl(314, 41%, 38%)
HSVhsv(314, 58%, 54%)
CMYKcmyk(0%, 58%, 13.8%, 45.9%)
CIE-LABlab(37.41, 41.91, -18.73)
CIE-LCHlch(37.41, 45.90, 335.91°)
OKLaboklab(47.77% 0.1228 -0.0506)
OKLCHoklch(47.77% 0.133 337.6)
XYZxyz(15.3242, 9.7625, 18.5264)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A77 #3A8A4D
analogous
#753A8A #8A3A77 #8A3A4F
triadic
#8A3A77 #778A3A #3A778A
tetradic
#8A3A77 #8A753A #3A8A4D #3A4F8A
square
#8A3A77 #8A753A #3A8A4D #3A4F8A
split-complementary
#8A3A77 #4F8A3A #3A8A75
monochromatic
#34162D #5F2852 #8A3A77 #B44D9C #C678B4

Accessibility & contrast

On white

7.11
#8A3A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A3A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3A77
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A77#FFFFFF#000000##FFFFFF
##8A3A771.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5079
Deuteranopia (green-blind)
#545D75
Tritanopia (blue-blind)
#913D53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3a77;
/* rgb */ color: rgb(138, 58, 119);
/* oklch */ color: oklch(47.8% 0.133 337.6);
Tailwind
colors: {
  custom: {
    50: '#ae749e',
    500: '#8a3a77',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a77;
$custom-light: #ae749e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a77",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 119
  },
  "hsl": {
    "h": 314.25,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47768,
    "c": 0.13283,
    "h": 337.6
  },
  "luminance": 0.09761
}

Semantic roles & 50–950 ramp

primary
#8A3A77
secondary
#70B07F
accent
#D17457
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3A77

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

Preview Lab → · Contrast checker → · Palette generator →

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