#8A3777#8A3777

#8A3777 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.4% C 0.138 H 337.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8A3777
RGBrgb(138, 55, 119)
HSLhsl(314, 43%, 38%)
HSVhsv(314, 60%, 54%)
CMYKcmyk(0%, 60.1%, 13.8%, 45.9%)
CIE-LABlab(36.87, 43.37, -19.57)
CIE-LCHlch(36.87, 47.58, 335.71°)
OKLaboklab(47.37% 0.1272 -0.0529)
OKLCHoklch(47.37% 0.138 337.4)
XYZxyz(15.1774, 9.4688, 18.4775)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3777 #378A4A
analogous
#73378A #8A3777 #8A374D
triadic
#8A3777 #778A37 #37778A
tetradic
#8A3777 #8A7337 #378A4A #374D8A
square
#8A3777 #8A7337 #378A4A #374D8A
split-complementary
#8A3777 #4D8A37 #378A73
monochromatic
#32142C #5E2651 #8A3777 #B6489D #C874B4

Accessibility & contrast

On white

7.26
#8A3777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A3777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3777
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3777#FFFFFF#000000##FFFFFF
##8A37771.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F79
Deuteranopia (green-blind)
#525B75
Tritanopia (blue-blind)
#913A52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3777;
/* rgb */ color: rgb(138, 55, 119);
/* oklch */ color: oklch(47.4% 0.138 337.4);
Tailwind
colors: {
  custom: {
    50: '#af739e',
    500: '#8a3777',
    950: '#000000',
  },
}
SCSS
$custom: #8a3777;
$custom-light: #af739e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3777",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 119
  },
  "hsl": {
    "h": 313.735,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4737,
    "c": 0.13772,
    "h": 337.4
  },
  "luminance": 0.09468
}

Semantic roles & 50–950 ramp

primary
#8A3777
secondary
#6DB07C
accent
#D37255
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3777

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

Preview Lab → · Contrast checker → · Palette generator →

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