#8D1487#8D1487

#8D1487 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.193 H 330.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8D1487
RGBrgb(141, 20, 135)
HSLhsl(303, 75%, 32%)
HSVhsv(303, 86%, 55%)
CMYKcmyk(0%, 85.8%, 4.3%, 44.7%)
CIE-LABlab(33.80, 59.14, -34.31)
CIE-LCHlch(33.80, 68.37, 329.88°)
OKLaboklab(45.52% 0.1682 -0.0949)
OKLCHoklch(45.52% 0.193 330.6)
XYZxyz(15.6078, 7.9136, 23.6224)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1487 #148D1A
analogous
#57148D #8D1487 #8D144B
triadic
#8D1487 #878D14 #14878D
tetradic
#8D1487 #8D5714 #148D1A #144B8D
square
#8D1487 #8D5714 #148D1A #144B8D
split-complementary
#8D1487 #4B8D14 #148D57
monochromatic
#220520 #570C54 #8D1487 #C31CBA #E339DA

Accessibility & contrast

On white

8.13
#8D1487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D1487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1487
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1487#FFFFFF#000000##FFFFFF
##8D14871.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#3E5584
Tritanopia (blue-blind)
#932850
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1487;
/* rgb */ color: rgb(141, 20, 135);
/* oklch */ color: oklch(45.5% 0.193 330.6);
Tailwind
colors: {
  custom: {
    50: '#b265aa',
    500: '#8d1487',
    950: '#000000',
  },
}
SCSS
$custom: #8d1487;
$custom-light: #b265aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1487",
  "rgb": {
    "r": 141,
    "g": 20,
    "b": 135
  },
  "hsl": {
    "h": 302.975,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45518,
    "c": 0.19307,
    "h": 330.6
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#8D1487
secondary
#3CC142
accent
#F23F36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8D1487

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

Preview Lab → · Contrast checker → · Palette generator →

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