#8A3779#8A3779

#8A3779 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.5% C 0.139 H 336.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8A3779
RGBrgb(138, 55, 121)
HSLhsl(312, 43%, 38%)
HSVhsv(312, 60%, 54%)
CMYKcmyk(0%, 60.1%, 12.3%, 45.9%)
CIE-LABlab(36.96, 43.70, -20.68)
CIE-LCHlch(36.96, 48.35, 334.68°)
OKLaboklab(47.47% 0.1275 -0.056)
OKLCHoklch(47.47% 0.139 336.3)
XYZxyz(15.2988, 9.5173, 19.1167)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3779 #378A48
analogous
#71378A #8A3779 #8A3750
triadic
#8A3779 #798A37 #37798A
tetradic
#8A3779 #8A7137 #378A48 #37508A
square
#8A3779 #8A7137 #378A48 #37508A
split-complementary
#8A3779 #508A37 #378A71
monochromatic
#32142C #5E2653 #8A3779 #B6489F #C874B6

Accessibility & contrast

On white

7.23
#8A3779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8A3779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3779
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3779#FFFFFF#000000##FFFFFF
##8A37791.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7B
Deuteranopia (green-blind)
#515C77
Tritanopia (blue-blind)
#913B53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3779;
/* rgb */ color: rgb(138, 55, 121);
/* oklch */ color: oklch(47.5% 0.139 336.3);
Tailwind
colors: {
  custom: {
    50: '#af73a0',
    500: '#8a3779',
    950: '#000000',
  },
}
SCSS
$custom: #8a3779;
$custom-light: #af73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3779",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 121
  },
  "hsl": {
    "h": 312.289,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47466,
    "c": 0.13931,
    "h": 336.3
  },
  "luminance": 0.09516
}

Semantic roles & 50–950 ramp

primary
#8A3779
secondary
#6DB07A
accent
#D36F55
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3779

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

Preview Lab → · Contrast checker → · Palette generator →

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