#8D1D8F#8D1D8F

#8D1D8F is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.192 H 327.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8D1D8F
RGBrgb(141, 29, 143)
HSLhsl(299, 66%, 34%)
HSVhsv(299, 80%, 56%)
CMYKcmyk(1.4%, 79.7%, 0%, 43.9%)
CIE-LABlab(35.05, 58.19, -37.26)
CIE-LCHlch(35.05, 69.10, 327.37°)
OKLaboklab(46.56% 0.1614 -0.1035)
OKLCHoklch(46.56% 0.192 327.3)
XYZxyz(16.3816, 8.5258, 26.7641)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D8F #1F8F1D
analogous
#541D8F #8D1D8F #8F1D58
triadic
#8D1D8F #8F8D1D #1D8F8D
tetradic
#8D1D8F #8F541D #1F8F1D #1D588F
square
#8D1D8F #8F541D #1F8F1D #1D588F
split-complementary
#8D1D8F #588F1D #1D8F54
monochromatic
#290829 #5B135C #8D1D8F #BF27C2 #D84CDB

Accessibility & contrast

On white

7.76
#8D1D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8D1D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D8F
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D8F#FFFFFF#000000##FFFFFF
##8D1D8F1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#913156
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1d8f;
/* rgb */ color: rgb(141, 29, 143);
/* oklch */ color: oklch(46.6% 0.192 327.3);
Tailwind
colors: {
  custom: {
    50: '#b268b0',
    500: '#8d1d8f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d8f;
$custom-light: #b268b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d8f",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 298.947,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46561,
    "c": 0.19176,
    "h": 327.3
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#8D1D8F
secondary
#4DBD4B
accent
#E93F42
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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