#8D1D87#8D1D87

#8D1D87 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.186 H 330.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8D1D87
RGBrgb(141, 29, 135)
HSLhsl(303, 66%, 33%)
HSVhsv(303, 79%, 55%)
CMYKcmyk(0%, 79.4%, 4.3%, 44.7%)
CIE-LABlab(34.58, 56.87, -33.07)
CIE-LCHlch(34.58, 65.79, 329.82°)
OKLaboklab(46.07% 0.1616 -0.0913)
OKLCHoklch(46.07% 0.186 330.5)
XYZxyz(15.7970, 8.2920, 23.6855)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D87 #1D8D23
analogous
#5B1D8D #8D1D87 #8D1D4F
triadic
#8D1D87 #878D1D #1D878D
tetradic
#8D1D87 #8D5B1D #1D8D23 #1D4F8D
square
#8D1D87 #8D5B1D #1D8D23 #1D4F8D
split-complementary
#8D1D87 #4F8D1D #1D8D5B
monochromatic
#270826 #5A1356 #8D1D87 #C027B8 #DA4BD2

Accessibility & contrast

On white

7.90
#8D1D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8D1D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D87
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D87#FFFFFF#000000##FFFFFF
##8D1D871.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D488A
Deuteranopia (green-blind)
#415784
Tritanopia (blue-blind)
#932D52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1d87;
/* rgb */ color: rgb(141, 29, 135);
/* oklch */ color: oklch(46.1% 0.186 330.5);
Tailwind
colors: {
  custom: {
    50: '#b267aa',
    500: '#8d1d87',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d87;
$custom-light: #b267aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d87",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 303.214,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46074,
    "c": 0.18564,
    "h": 330.5
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#8D1D87
secondary
#4ABC50
accent
#E9483F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1D87

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

Preview Lab → · Contrast checker → · Palette generator →

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