#8D1C8A#8D1C8A

#8D1C8A is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.189 H 329.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8D1C8A
RGBrgb(141, 28, 138)
HSLhsl(302, 67%, 33%)
HSVhsv(302, 80%, 55%)
CMYKcmyk(0%, 80.1%, 2.1%, 44.7%)
CIE-LABlab(34.66, 57.64, -34.81)
CIE-LCHlch(34.66, 67.33, 328.88°)
OKLaboklab(46.18% 0.1624 -0.0964)
OKLCHoklch(46.18% 0.189 329.3)
XYZxyz(15.9871, 8.3295, 24.8056)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C8A #1C8D1F
analogous
#571C8D #8D1C8A #8D1C51
triadic
#8D1C8A #8A8D1C #1C8A8D
tetradic
#8D1C8A #8D571C #1C8D1F #1C518D
square
#8D1C8A #8D571C #1C8D1F #1C518D
split-complementary
#8D1C8A #518D1C #1C8D57
monochromatic
#270826 #5A1258 #8D1C8A #C026BC #DB49D7

Accessibility & contrast

On white

7.88
#8D1C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8D1C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C8A
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C8A#FFFFFF#000000##FFFFFF
##8D1C8A1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02488D
Deuteranopia (green-blind)
#3F5787
Tritanopia (blue-blind)
#922E53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1c8a;
/* rgb */ color: rgb(141, 28, 138);
/* oklch */ color: oklch(46.2% 0.189 329.3);
Tailwind
colors: {
  custom: {
    50: '#b267ac',
    500: '#8d1c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c8a;
$custom-light: #b267ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c8a",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 301.593,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46184,
    "c": 0.18884,
    "h": 329.3
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#8D1C8A
secondary
#48BD4B
accent
#EA433E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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