#8D1C7F#8D1C7F

#8D1C7F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.181 H 333.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8D1C7F
RGBrgb(141, 28, 127)
HSLhsl(307, 67%, 33%)
HSVhsv(307, 80%, 55%)
CMYKcmyk(0%, 80.1%, 9.9%, 44.7%)
CIE-LABlab(34.04, 55.89, -28.95)
CIE-LCHlch(34.04, 62.95, 332.62°)
OKLaboklab(45.54% 0.1623 -0.0794)
OKLCHoklch(45.54% 0.181 333.9)
XYZxyz(15.2307, 8.0269, 20.8218)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C7F #1C8D2A
analogous
#621C8D #8D1C7F #8D1C46
triadic
#8D1C7F #7F8D1C #1C7F8D
tetradic
#8D1C7F #8D621C #1C8D2A #1C468D
square
#8D1C7F #8D621C #1C8D2A #1C468D
split-complementary
#8D1C7F #468D1C #1C8D62
monochromatic
#270823 #5A1251 #8D1C7F #C026AD #DB49C9

Accessibility & contrast

On white

8.06
#8D1C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8D1C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C7F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C7F#FFFFFF#000000##FFFFFF
##8D1C7F1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184682
Deuteranopia (green-blind)
#45567C
Tritanopia (blue-blind)
#94284D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1c7f;
/* rgb */ color: rgb(141, 28, 127);
/* oklch */ color: oklch(45.5% 0.181 333.9);
Tailwind
colors: {
  custom: {
    50: '#b267a4',
    500: '#8d1c7f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c7f;
$custom-light: #b267a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c7f",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 307.434,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4554,
    "c": 0.18067,
    "h": 333.9
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#8D1C7F
secondary
#48BD57
accent
#EA533E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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