#8D177D#8D177D

#8D177D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.184 H 334.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8D177D
RGBrgb(141, 23, 125)
HSLhsl(308, 72%, 32%)
HSVhsv(308, 84%, 55%)
CMYKcmyk(0%, 83.7%, 11.3%, 44.7%)
CIE-LABlab(33.47, 56.91, -28.59)
CIE-LCHlch(33.47, 63.69, 333.33°)
OKLaboklab(45.1% 0.1661 -0.0783)
OKLCHoklch(45.1% 0.184 334.7)
XYZxyz(14.9928, 7.7576, 20.1058)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D177D #178D27
analogous
#62178D #8D177D #8D1742
triadic
#8D177D #7D8D17 #177D8D
tetradic
#8D177D #8D6217 #178D27 #17428D
square
#8D177D #8D6217 #178D27 #17428D
split-complementary
#8D177D #428D17 #178D62
monochromatic
#240620 #580E4E #8D177D #C220AC #E03FCA

Accessibility & contrast

On white

8.23
#8D177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8D177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D177D
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D177D#FFFFFF#000000##FFFFFF
##8D177D1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154480
Deuteranopia (green-blind)
#44557A
Tritanopia (blue-blind)
#94244B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d177d;
/* rgb */ color: rgb(141, 23, 125);
/* oklch */ color: oklch(45.1% 0.184 334.7);
Tailwind
colors: {
  custom: {
    50: '#b265a3',
    500: '#8d177d',
    950: '#000000',
  },
}
SCSS
$custom: #8d177d;
$custom-light: #b265a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d177d",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 308.136,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.451,
    "c": 0.18365,
    "h": 334.7
  },
  "luminance": 0.07756
}

Semantic roles & 50–950 ramp

primary
#8D177D
secondary
#40C051
accent
#EF5239
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D177D

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

Preview Lab → · Contrast checker → · Palette generator →

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