#8D1387#8D1387

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

Color values

HEX#8D1387
RGBrgb(141, 19, 135)
HSLhsl(303, 76%, 31%)
HSVhsv(303, 87%, 55%)
CMYKcmyk(0%, 86.5%, 4.3%, 44.7%)
CIE-LABlab(33.73, 59.35, -34.43)
CIE-LCHlch(33.73, 68.61, 329.88°)
OKLaboklab(45.47% 0.1688 -0.0952)
OKLCHoklch(45.47% 0.194 330.6)
XYZxyz(15.5905, 7.8790, 23.6167)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1387 #138D19
analogous
#56138D #8D1387 #8D134A
triadic
#8D1387 #878D13 #13878D
tetradic
#8D1387 #8D5613 #138D19 #134A8D
square
#8D1387 #8D5613 #138D19 #134A8D
split-complementary
#8D1387 #4A8D13 #138D56
monochromatic
#210420 #570C53 #8D1387 #C31ABB #E436DB

Accessibility & contrast

On white

8.15
#8D1387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1387
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1387#FFFFFF#000000##FFFFFF
##8D13871.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.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: #8d1387;
/* rgb */ color: rgb(141, 19, 135);
/* oklch */ color: oklch(45.5% 0.194 330.6);
Tailwind
colors: {
  custom: {
    50: '#b264aa',
    500: '#8d1387',
    950: '#000000',
  },
}
SCSS
$custom: #8d1387;
$custom-light: #b264aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1387",
  "rgb": {
    "r": 141,
    "g": 19,
    "b": 135
  },
  "hsl": {
    "h": 302.951,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45466,
    "c": 0.19376,
    "h": 330.6
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#8D1387
secondary
#3BC141
accent
#F33E35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8D1387

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

Preview Lab → · Contrast checker → · Palette generator →

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