#8D1887#8D1887

#8D1887 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.190 H 330.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8D1887
RGBrgb(141, 24, 135)
HSLhsl(303, 71%, 32%)
HSVhsv(303, 83%, 55%)
CMYKcmyk(0%, 83%, 4.3%, 44.7%)
CIE-LABlab(34.12, 58.21, -33.80)
CIE-LCHlch(34.12, 67.31, 329.86°)
OKLaboklab(45.74% 0.1655 -0.0934)
OKLCHoklch(45.74% 0.19 330.6)
XYZxyz(15.6843, 8.0666, 23.6479)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1887 #188D1E
analogous
#59188D #8D1887 #8D184C
triadic
#8D1887 #878D18 #18878D
tetradic
#8D1887 #8D5918 #188D1E #184C8D
square
#8D1887 #8D5918 #188D1E #184C8D
split-complementary
#8D1887 #4C8D18 #188D59
monochromatic
#240623 #590F55 #8D1887 #C121B9 #DF41D7

Accessibility & contrast

On white

8.04
#8D1887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8D1887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1887
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1887#FFFFFF#000000##FFFFFF
##8D18871.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02468A
Deuteranopia (green-blind)
#3F5684
Tritanopia (blue-blind)
#932A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1887;
/* rgb */ color: rgb(141, 24, 135);
/* oklch */ color: oklch(45.7% 0.190 330.6);
Tailwind
colors: {
  custom: {
    50: '#b266aa',
    500: '#8d1887',
    950: '#000000',
  },
}
SCSS
$custom: #8d1887;
$custom-light: #b266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1887",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 303.077,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45744,
    "c": 0.19003,
    "h": 330.6
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#8D1887
secondary
#42BF48
accent
#EE433A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1887

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

Preview Lab → · Contrast checker → · Palette generator →

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