#8D3374#8D3374

#8D3374 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.2% C 0.144 H 340.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8D3374
RGBrgb(141, 51, 116)
HSLhsl(317, 47%, 38%)
HSVhsv(317, 64%, 55%)
CMYKcmyk(0%, 63.8%, 17.7%, 44.7%)
CIE-LABlab(36.54, 45.64, -18.16)
CIE-LCHlch(36.54, 49.12, 338.30°)
OKLaboklab(47.18% 0.1354 -0.0488)
OKLCHoklch(47.18% 0.144 340.2)
XYZxyz(15.3210, 9.2927, 17.5064)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3374 #338D4C
analogous
#79338D #8D3374 #8D3347
triadic
#8D3374 #748D33 #33748D
tetradic
#8D3374 #8D7933 #338D4C #33478D
square
#8D3374 #8D7933 #338D4C #33478D
split-complementary
#8D3374 #478D33 #338D79
monochromatic
#33122A #60234F #8D3374 #BA4399 #CB6FB2

Accessibility & contrast

On white

7.35
#8D3374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8D3374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3374
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3374#FFFFFF#000000##FFFFFF
##8D33741.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D76
Deuteranopia (green-blind)
#535B72
Tritanopia (blue-blind)
#95354F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d3374;
/* rgb */ color: rgb(141, 51, 116);
/* oklch */ color: oklch(47.2% 0.144 340.2);
Tailwind
colors: {
  custom: {
    50: '#b1719c',
    500: '#8d3374',
    950: '#000000',
  },
}
SCSS
$custom: #8d3374;
$custom-light: #b1719c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3374",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 316.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4718,
    "c": 0.14397,
    "h": 340.2
  },
  "luminance": 0.09291
}

Semantic roles & 50–950 ramp

primary
#8D3374
secondary
#69B37D
accent
#D77651
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D3374

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

Preview Lab → · Contrast checker → · Palette generator →

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