#8D3377#8D3377

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

Color values

HEX#8D3377
RGBrgb(141, 51, 119)
HSLhsl(315, 47%, 38%)
HSVhsv(315, 64%, 55%)
CMYKcmyk(0%, 63.8%, 15.6%, 44.7%)
CIE-LABlab(36.68, 46.11, -19.83)
CIE-LCHlch(36.68, 50.20, 336.73°)
OKLaboklab(47.32% 0.136 -0.0536)
OKLCHoklch(47.32% 0.146 338.5)
XYZxyz(15.4984, 9.3636, 18.4403)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3377 #338D49
analogous
#76338D #8D3377 #8D334A
triadic
#8D3377 #778D33 #33778D
tetradic
#8D3377 #8D7633 #338D49 #334A8D
square
#8D3377 #8D7633 #338D49 #334A8D
split-complementary
#8D3377 #4A8D33 #338D76
monochromatic
#33122B #602351 #8D3377 #BA439D #CB6FB5

Accessibility & contrast

On white

7.31
#8D3377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8D3377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3377
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3377#FFFFFF#000000##FFFFFF
##8D33771.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D79
Deuteranopia (green-blind)
#525B75
Tritanopia (blue-blind)
#953650
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d3377;
/* rgb */ color: rgb(141, 51, 119);
/* oklch */ color: oklch(47.3% 0.146 338.5);
Tailwind
colors: {
  custom: {
    50: '#b1719e',
    500: '#8d3377',
    950: '#000000',
  },
}
SCSS
$custom: #8d3377;
$custom-light: #b1719e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3377",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 119
  },
  "hsl": {
    "h": 314.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47322,
    "c": 0.14619,
    "h": 338.5
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#8D3377
secondary
#69B37B
accent
#D77251
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D3377

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

Preview Lab → · Contrast checker → · Palette generator →

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