#8D3174#8D3174

#8D3174 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.9% C 0.147 H 340.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8D3174
RGBrgb(141, 49, 116)
HSLhsl(316, 48%, 37%)
HSVhsv(316, 65%, 55%)
CMYKcmyk(0%, 65.2%, 17.7%, 44.7%)
CIE-LABlab(36.22, 46.53, -18.66)
CIE-LCHlch(36.22, 50.14, 338.14°)
OKLaboklab(46.94% 0.1381 -0.0502)
OKLCHoklch(46.94% 0.147 340)
XYZxyz(15.2355, 9.1217, 17.4779)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3174 #318D4A
analogous
#78318D #8D3174 #8D3146
triadic
#8D3174 #748D31 #31748D
tetradic
#8D3174 #8D7831 #318D4A #31468D
square
#8D3174 #8D7831 #318D4A #31468D
split-complementary
#8D3174 #468D31 #318D78
monochromatic
#321129 #60214F #8D3174 #BA4199 #CC6CB2

Accessibility & contrast

On white

7.44
#8D3174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8D3174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3174
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3174#FFFFFF#000000##FFFFFF
##8D31741.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364C76
Deuteranopia (green-blind)
#525B72
Tritanopia (blue-blind)
#95334E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d3174;
/* rgb */ color: rgb(141, 49, 116);
/* oklch */ color: oklch(46.9% 0.147 340.0);
Tailwind
colors: {
  custom: {
    50: '#b1709c',
    500: '#8d3174',
    950: '#000000',
  },
}
SCSS
$custom: #8d3174;
$custom-light: #b1709c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3174",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 316.304,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46942,
    "c": 0.14695,
    "h": 340
  },
  "luminance": 0.0912
}

Semantic roles & 50–950 ramp

primary
#8D3174
secondary
#66B47B
accent
#D87550
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D3174

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

Preview Lab → · Contrast checker → · Palette generator →

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