#8D1D7D#8D1D7D

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

Color values

HEX#8D1D7D
RGBrgb(141, 29, 125)
HSLhsl(309, 66%, 33%)
HSVhsv(309, 79%, 55%)
CMYKcmyk(0%, 79.4%, 11.3%, 44.7%)
CIE-LABlab(34.03, 55.30, -27.71)
CIE-LCHlch(34.03, 61.85, 333.38°)
OKLaboklab(45.5% 0.1613 -0.0758)
OKLCHoklch(45.5% 0.178 334.8)
XYZxyz(15.1257, 8.0235, 20.1501)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D7D #1D8D2D
analogous
#651D8D #8D1D7D #8D1D45
triadic
#8D1D7D #7D8D1D #1D7D8D
tetradic
#8D1D7D #8D651D #1D8D2D #1D458D
square
#8D1D7D #8D651D #1D8D2D #1D458D
split-complementary
#8D1D7D #458D1D #1D8D65
monochromatic
#270823 #5A1350 #8D1D7D #C027AA #DA4BC5

Accessibility & contrast

On white

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

On black

2.60
#8D1D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8D1D7D#FFFFFF#000000##FFFFFF
##8D1D7D1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4680
Deuteranopia (green-blind)
#46567A
Tritanopia (blue-blind)
#94284C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1d7d;
/* rgb */ color: rgb(141, 29, 125);
/* oklch */ color: oklch(45.5% 0.178 334.8);
Tailwind
colors: {
  custom: {
    50: '#b267a3',
    500: '#8d1d7d',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d7d;
$custom-light: #b267a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d7d",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 308.571,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.455,
    "c": 0.17826,
    "h": 334.8
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#8D1D7D
secondary
#4ABC5A
accent
#E9573F
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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