#8D3176#8D3176

#8D3176 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.0% C 0.148 H 338.9°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8D3176
RGBrgb(141, 49, 118)
HSLhsl(315, 48%, 37%)
HSVhsv(315, 65%, 55%)
CMYKcmyk(0%, 65.2%, 16.3%, 44.7%)
CIE-LABlab(36.31, 46.84, -19.78)
CIE-LCHlch(36.31, 50.85, 337.11°)
OKLaboklab(47.04% 0.1385 -0.0534)
OKLCHoklch(47.04% 0.148 338.9)
XYZxyz(15.3531, 9.1687, 18.0972)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3176 #318D48
analogous
#76318D #8D3176 #8D3148
triadic
#8D3176 #768D31 #31768D
tetradic
#8D3176 #8D7631 #318D48 #31488D
square
#8D3176 #8D7631 #318D48 #31488D
split-complementary
#8D3176 #488D31 #318D76
monochromatic
#32112A #602150 #8D3176 #BA419C #CC6CB4

Accessibility & contrast

On white

7.41
#8D3176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8D3176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3176
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3176#FFFFFF#000000##FFFFFF
##8D31761.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354C78
Deuteranopia (green-blind)
#515B74
Tritanopia (blue-blind)
#95344F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d3176;
/* rgb */ color: rgb(141, 49, 118);
/* oklch */ color: oklch(47.0% 0.148 338.9);
Tailwind
colors: {
  custom: {
    50: '#b1709d',
    500: '#8d3176',
    950: '#000000',
  },
}
SCSS
$custom: #8d3176;
$custom-light: #b1709d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3176",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 315,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47037,
    "c": 0.14842,
    "h": 338.9
  },
  "luminance": 0.09167
}

Semantic roles & 50–950 ramp

primary
#8D3176
secondary
#66B47A
accent
#D87250
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D3176

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

Preview Lab → · Contrast checker → · Palette generator →

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