#8D1C87#8D1C87

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

Color values

HEX#8D1C87
RGBrgb(141, 28, 135)
HSLhsl(303, 67%, 33%)
HSVhsv(303, 80%, 55%)
CMYKcmyk(0%, 80.1%, 4.3%, 44.7%)
CIE-LABlab(34.49, 57.15, -33.23)
CIE-LCHlch(34.49, 66.11, 329.83°)
OKLaboklab(46% 0.1624 -0.0918)
OKLCHoklch(46% 0.187 330.5)
XYZxyz(15.7729, 8.2438, 23.6775)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C87 #1C8D22
analogous
#5A1C8D #8D1C87 #8D1C4E
triadic
#8D1C87 #878D1C #1C878D
tetradic
#8D1C87 #8D5A1C #1C8D22 #1C4E8D
square
#8D1C87 #8D5A1C #1C8D22 #1C4E8D
split-complementary
#8D1C87 #4E8D1C #1C8D5A
monochromatic
#270825 #5A1256 #8D1C87 #C026B8 #DB49D3

Accessibility & contrast

On white

7.93
#8D1C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8D1C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C87
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C87#FFFFFF#000000##FFFFFF
##8D1C871.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A478A
Deuteranopia (green-blind)
#415684
Tritanopia (blue-blind)
#932C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1c87;
/* rgb */ color: rgb(141, 28, 135);
/* oklch */ color: oklch(46.0% 0.187 330.5);
Tailwind
colors: {
  custom: {
    50: '#b267aa',
    500: '#8d1c87',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c87;
$custom-light: #b267aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c87",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 303.186,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46003,
    "c": 0.18657,
    "h": 330.5
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#8D1C87
secondary
#48BD4E
accent
#EA473E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1C87

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

Preview Lab → · Contrast checker → · Palette generator →

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