#8D1D8D#8D1D8D

#8D1D8D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.190 H 328.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8D1D8D
RGBrgb(141, 29, 141)
HSLhsl(300, 66%, 33%)
HSVhsv(300, 79%, 55%)
CMYKcmyk(0%, 79.4%, 0%, 44.7%)
CIE-LABlab(34.93, 57.86, -36.22)
CIE-LCHlch(34.93, 68.26, 327.95°)
OKLaboklab(46.44% 0.1615 -0.1005)
OKLCHoklch(46.44% 0.19 328.1)
XYZxyz(16.2314, 8.4658, 25.9733)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D8D #1D8D1D
analogous
#551D8D #8D1D8D #8D1D55
triadic
#8D1D8D #8D8D1D #1D8D8D
tetradic
#8D1D8D #8D551D #1D8D1D #1D558D
square
#8D1D8D #8D551D #1D8D1D #1D558D
split-complementary
#8D1D8D #558D1D #1D8D55
monochromatic
#270827 #5A135A #8D1D8D #C027C0 #DA4BDA

Accessibility & contrast

On white

7.80
#8D1D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8D1D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D8D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D8D#FFFFFF#000000##FFFFFF
##8D1D8D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#3E578A
Tritanopia (blue-blind)
#923055
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1d8d;
/* rgb */ color: rgb(141, 29, 141);
/* oklch */ color: oklch(46.4% 0.190 328.1);
Tailwind
colors: {
  custom: {
    50: '#b268af',
    500: '#8d1d8d',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d8d;
$custom-light: #b268af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d8d",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46437,
    "c": 0.19021,
    "h": 328.1
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#8D1D8D
secondary
#4ABC4A
accent
#E93F3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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