#8A3F79#8A3F79

#8A3F79 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.6% C 0.126 H 336.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8A3F79
RGBrgb(138, 63, 121)
HSLhsl(314, 37%, 39%)
HSVhsv(314, 54%, 54%)
CMYKcmyk(0%, 54.3%, 12.3%, 45.9%)
CIE-LABlab(38.45, 39.72, -18.39)
CIE-LCHlch(38.45, 43.77, 335.16°)
OKLaboklab(48.56% 0.1158 -0.0496)
OKLCHoklch(48.56% 0.126 336.8)
XYZxyz(15.7100, 10.3399, 19.2538)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F79 #3F8A50
analogous
#763F8A #8A3F79 #8A3F54
triadic
#8A3F79 #798A3F #3F798A
tetradic
#8A3F79 #8A763F #3F8A50 #3F548A
square
#8A3F79 #8A763F #3F8A50 #3F548A
split-complementary
#8A3F79 #548A3F #3F8A76
monochromatic
#36192F #602C54 #8A3F79 #B1559C #C57FB5

Accessibility & contrast

On white

6.85
#8A3F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8A3F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3F79
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F79#FFFFFF#000000##FFFFFF
##8A3F791.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537B
Deuteranopia (green-blind)
#565F77
Tritanopia (blue-blind)
#914256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3f79;
/* rgb */ color: rgb(138, 63, 121);
/* oklch */ color: oklch(48.6% 0.126 336.8);
Tailwind
colors: {
  custom: {
    50: '#ae77a0',
    500: '#8a3f79',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f79;
$custom-light: #ae77a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f79",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 313.6,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.12602,
    "h": 336.8
  },
  "luminance": 0.10339
}

Semantic roles & 50–950 ramp

primary
#8A3F79
secondary
#76AF83
accent
#CD755B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3F79

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

Preview Lab → · Contrast checker → · Palette generator →

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