#8D1A87#8D1A87

#8D1A87 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.188 H 330.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8D1A87
RGBrgb(141, 26, 135)
HSLhsl(303, 69%, 33%)
HSVhsv(303, 82%, 55%)
CMYKcmyk(0%, 81.6%, 4.3%, 44.7%)
CIE-LABlab(34.30, 57.70, -33.52)
CIE-LCHlch(34.30, 66.73, 329.84°)
OKLaboklab(45.87% 0.164 -0.0926)
OKLCHoklch(45.87% 0.188 330.5)
XYZxyz(15.7270, 8.1521, 23.6622)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A87 #1A8D20
analogous
#591A8D #8D1A87 #8D1A4E
triadic
#8D1A87 #878D1A #1A878D
tetradic
#8D1A87 #8D591A #1A8D20 #1A4E8D
square
#8D1A87 #8D591A #1A8D20 #1A4E8D
split-complementary
#8D1A87 #4E8D1A #1A8D59
monochromatic
#260724 #591056 #8D1A87 #C124B8 #DD45D5

Accessibility & contrast

On white

7.98
#8D1A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8D1A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A87
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A87#FFFFFF#000000##FFFFFF
##8D1A871.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478A
Deuteranopia (green-blind)
#405684
Tritanopia (blue-blind)
#932B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1a87;
/* rgb */ color: rgb(141, 26, 135);
/* oklch */ color: oklch(45.9% 0.188 330.5);
Tailwind
colors: {
  custom: {
    50: '#b266aa',
    500: '#8d1a87',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a87;
$custom-light: #b266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a87",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 303.13,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4587,
    "c": 0.18835,
    "h": 330.5
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#8D1A87
secondary
#45BE4B
accent
#EC453C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1A87

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

Preview Lab → · Contrast checker → · Palette generator →

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