#8A3E79#8A3E79

#8A3E79 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.4% C 0.128 H 336.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8A3E79
RGBrgb(138, 62, 121)
HSLhsl(313, 38%, 39%)
HSVhsv(313, 55%, 54%)
CMYKcmyk(0%, 55.1%, 12.3%, 45.9%)
CIE-LABlab(38.25, 40.23, -18.68)
CIE-LCHlch(38.25, 44.36, 335.09°)
OKLaboklab(48.42% 0.1173 -0.0505)
OKLCHoklch(48.42% 0.128 336.7)
XYZxyz(15.6552, 10.2301, 19.2355)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E79 #3E8A4F
analogous
#753E8A #8A3E79 #8A3E53
triadic
#8A3E79 #798A3E #3E798A
tetradic
#8A3E79 #8A753E #3E8A4F #3E538A
square
#8A3E79 #8A753E #3E8A4F #3E538A
split-complementary
#8A3E79 #538A3E #3E8A75
monochromatic
#36182F #602B54 #8A3E79 #B2539D #C57EB5

Accessibility & contrast

On white

6.89
#8A3E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8A3E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3E79
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E79#FFFFFF#000000##FFFFFF
##8A3E791.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537B
Deuteranopia (green-blind)
#555E77
Tritanopia (blue-blind)
#914156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3e79;
/* rgb */ color: rgb(138, 62, 121);
/* oklch */ color: oklch(48.4% 0.128 336.7);
Tailwind
colors: {
  custom: {
    50: '#ae77a0',
    500: '#8a3e79',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e79;
$custom-light: #ae77a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e79",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 313.421,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48418,
    "c": 0.12773,
    "h": 336.7
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#8A3E79
secondary
#75AF82
accent
#CE745A
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3E79

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

Preview Lab → · Contrast checker → · Palette generator →

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