#8A3A79#8A3A79

#8A3A79 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.9% C 0.134 H 336.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8A3A79
RGBrgb(138, 58, 121)
HSLhsl(313, 41%, 38%)
HSVhsv(313, 58%, 54%)
CMYKcmyk(0%, 58%, 12.3%, 45.9%)
CIE-LABlab(37.50, 42.24, -19.84)
CIE-LCHlch(37.50, 46.67, 334.84°)
OKLaboklab(47.86% 0.1233 -0.0537)
OKLCHoklch(47.86% 0.134 336.5)
XYZxyz(15.4456, 9.8110, 19.1657)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A79 #3A8A4B
analogous
#733A8A #8A3A79 #8A3A51
triadic
#8A3A79 #798A3A #3A798A
tetradic
#8A3A79 #8A733A #3A8A4B #3A518A
square
#8A3A79 #8A733A #3A8A4B #3A518A
split-complementary
#8A3A79 #518A3A #3A8A73
monochromatic
#34162D #5F2853 #8A3A79 #B44D9E #C678B6

Accessibility & contrast

On white

7.09
#8A3A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A3A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3A79
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A79#FFFFFF#000000##FFFFFF
##8A3A791.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517B
Deuteranopia (green-blind)
#535D77
Tritanopia (blue-blind)
#913E54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3a79;
/* rgb */ color: rgb(138, 58, 121);
/* oklch */ color: oklch(47.9% 0.134 336.5);
Tailwind
colors: {
  custom: {
    50: '#ae74a0',
    500: '#8a3a79',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a79;
$custom-light: #ae74a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a79",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 121
  },
  "hsl": {
    "h": 312.75,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47863,
    "c": 0.13444,
    "h": 336.5
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#8A3A79
secondary
#70B07E
accent
#D17157
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3A79

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

Preview Lab → · Contrast checker → · Palette generator →

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