#8A3B79#8A3B79

#8A3B79 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.0% C 0.133 H 336.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8A3B79
RGBrgb(138, 59, 121)
HSLhsl(313, 40%, 39%)
HSVhsv(313, 57%, 54%)
CMYKcmyk(0%, 57.2%, 12.3%, 45.9%)
CIE-LABlab(37.69, 41.75, -19.56)
CIE-LCHlch(37.69, 46.10, 334.90°)
OKLaboklab(48% 0.1218 -0.0529)
OKLCHoklch(48% 0.133 336.5)
XYZxyz(15.4965, 9.9128, 19.1826)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3B79 #3B8A4C
analogous
#733B8A #8A3B79 #8A3B51
triadic
#8A3B79 #798A3B #3B798A
tetradic
#8A3B79 #8A733B #3B8A4C #3B518A
square
#8A3B79 #8A733B #3B8A4C #3B518A
split-complementary
#8A3B79 #518A3B #3B8A73
monochromatic
#34162E #5F2953 #8A3B79 #B44F9E #C679B5

Accessibility & contrast

On white

7.04
#8A3B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8A3B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3B79
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3B79#FFFFFF#000000##FFFFFF
##8A3B791.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517B
Deuteranopia (green-blind)
#535D77
Tritanopia (blue-blind)
#913F54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3b79;
/* rgb */ color: rgb(138, 59, 121);
/* oklch */ color: oklch(48.0% 0.133 336.5);
Tailwind
colors: {
  custom: {
    50: '#ae75a0',
    500: '#8a3b79',
    950: '#000000',
  },
}
SCSS
$custom: #8a3b79;
$custom-light: #ae75a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3b79",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 312.911,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47999,
    "c": 0.13279,
    "h": 336.5
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#8A3B79
secondary
#71AF7F
accent
#D07258
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3B79

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

Preview Lab → · Contrast checker → · Palette generator →

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