#8A3679#8A3679

#8A3679 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.3% C 0.141 H 336.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8A3679
RGBrgb(138, 54, 121)
HSLhsl(312, 44%, 38%)
HSVhsv(312, 61%, 54%)
CMYKcmyk(0%, 60.9%, 12.3%, 45.9%)
CIE-LABlab(36.79, 44.17, -20.95)
CIE-LCHlch(36.79, 48.89, 334.63°)
OKLaboklab(47.34% 0.1289 -0.0568)
OKLCHoklch(47.34% 0.141 336.2)
XYZxyz(15.2517, 9.4233, 19.1010)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3679 #368A47
analogous
#71368A #8A3679 #8A364F
triadic
#8A3679 #798A36 #36798A
tetradic
#8A3679 #8A7136 #368A47 #364F8A
square
#8A3679 #8A7136 #368A47 #364F8A
split-complementary
#8A3679 #4F8A36 #368A71
monochromatic
#32142C #5E2552 #8A3679 #B647A0 #C872B7

Accessibility & contrast

On white

7.28
#8A3679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8A3679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3679
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3679#FFFFFF#000000##FFFFFF
##8A36791.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7B
Deuteranopia (green-blind)
#515B77
Tritanopia (blue-blind)
#913A52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3679;
/* rgb */ color: rgb(138, 54, 121);
/* oklch */ color: oklch(47.3% 0.141 336.2);
Tailwind
colors: {
  custom: {
    50: '#af72a0',
    500: '#8a3679',
    950: '#000000',
  },
}
SCSS
$custom: #8a3679;
$custom-light: #af72a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3679",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 121
  },
  "hsl": {
    "h": 312.143,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47337,
    "c": 0.1409,
    "h": 336.2
  },
  "luminance": 0.09422
}

Semantic roles & 50–950 ramp

primary
#8A3679
secondary
#6BB179
accent
#D36E54
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3679

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

Preview Lab → · Contrast checker → · Palette generator →

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