#8A3776#8A3776

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

Color values

HEX#8A3776
RGBrgb(138, 55, 118)
HSLhsl(314, 43%, 38%)
HSVhsv(314, 60%, 54%)
CMYKcmyk(0%, 60.1%, 14.5%, 45.9%)
CIE-LABlab(36.83, 43.20, -19.01)
CIE-LCHlch(36.83, 47.20, 336.24°)
OKLaboklab(47.32% 0.1269 -0.0513)
OKLCHoklch(47.32% 0.137 338)
XYZxyz(15.1176, 9.4449, 18.1629)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3776 #378A4B
analogous
#74378A #8A3776 #8A374C
triadic
#8A3776 #768A37 #37768A
tetradic
#8A3776 #8A7437 #378A4B #374C8A
square
#8A3776 #8A7437 #378A4B #374C8A
split-complementary
#8A3776 #4C8A37 #378A74
monochromatic
#32142B #5E2651 #8A3776 #B6489B #C874B3

Accessibility & contrast

On white

7.27
#8A3776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3776
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3776#FFFFFF#000000##FFFFFF
##8A37761.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4E78
Deuteranopia (green-blind)
#525B74
Tritanopia (blue-blind)
#913A51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3776;
/* rgb */ color: rgb(138, 55, 118);
/* oklch */ color: oklch(47.3% 0.137 338.0);
Tailwind
colors: {
  custom: {
    50: '#af739d',
    500: '#8a3776',
    950: '#000000',
  },
}
SCSS
$custom: #8a3776;
$custom-light: #af739d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3776",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 118
  },
  "hsl": {
    "h": 314.458,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47322,
    "c": 0.13693,
    "h": 338
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#8A3776
secondary
#6DB07D
accent
#D37355
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3776

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

Preview Lab → · Contrast checker → · Palette generator →

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