#8D1D7F#8D1D7F

#8D1D7F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.180 H 333.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8D1D7F
RGBrgb(141, 29, 127)
HSLhsl(308, 66%, 33%)
HSVhsv(308, 79%, 55%)
CMYKcmyk(0%, 79.4%, 9.9%, 44.7%)
CIE-LABlab(34.14, 55.61, -28.79)
CIE-LCHlch(34.14, 62.62, 332.62°)
OKLaboklab(45.61% 0.1614 -0.079)
OKLCHoklch(45.61% 0.18 333.9)
XYZxyz(15.2548, 8.0751, 20.8298)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D7F #1D8D2B
analogous
#631D8D #8D1D7F #8D1D47
triadic
#8D1D7F #7F8D1D #1D7F8D
tetradic
#8D1D7F #8D631D #1D8D2B #1D478D
square
#8D1D7F #8D631D #1D8D2B #1D478D
split-complementary
#8D1D7F #478D1D #1D8D63
monochromatic
#270824 #5A1351 #8D1D7F #C027AD #DA4BC8

Accessibility & contrast

On white

8.03
#8D1D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1D7F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D7F#FFFFFF#000000##FFFFFF
##8D1D7F1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1d7f;
/* rgb */ color: rgb(141, 29, 127);
/* oklch */ color: oklch(45.6% 0.180 333.9);
Tailwind
colors: {
  custom: {
    50: '#b267a4',
    500: '#8d1d7f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d7f;
$custom-light: #b267a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d7f",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 307.5,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45612,
    "c": 0.17971,
    "h": 333.9
  },
  "luminance": 0.08074
}

Semantic roles & 50–950 ramp

primary
#8D1D7F
secondary
#4ABC58
accent
#E9543F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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