#8D1C8D#8D1C8D

#8D1C8D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.191 H 328.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8D1C8D
RGBrgb(141, 28, 141)
HSLhsl(300, 67%, 33%)
HSVhsv(300, 80%, 55%)
CMYKcmyk(0%, 80.1%, 0%, 44.7%)
CIE-LABlab(34.84, 58.14, -36.37)
CIE-LCHlch(34.84, 68.58, 327.97°)
OKLaboklab(46.37% 0.1623 -0.1009)
OKLCHoklch(46.37% 0.191 328.1)
XYZxyz(16.2073, 8.4175, 25.9653)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C8D #1C8D1C
analogous
#541C8D #8D1C8D #8D1C54
triadic
#8D1C8D #8D8D1C #1C8D8D
tetradic
#8D1C8D #8D541C #1C8D1C #1C548D
square
#8D1C8D #8D541C #1C8D1C #1C548D
split-complementary
#8D1C8D #548D1C #1C8D54
monochromatic
#270827 #5A125A #8D1C8D #C026C0 #DB49DB

Accessibility & contrast

On white

7.83
#8D1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8D1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C8D
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C8D#FFFFFF#000000##FFFFFF
##8D1C8D1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#3D578A
Tritanopia (blue-blind)
#923055
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1c8d;
/* rgb */ color: rgb(141, 28, 141);
/* oklch */ color: oklch(46.4% 0.191 328.1);
Tailwind
colors: {
  custom: {
    50: '#b267af',
    500: '#8d1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c8d;
$custom-light: #b267af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c8d",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46368,
    "c": 0.19111,
    "h": 328.1
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#8D1C8D
secondary
#48BD48
accent
#EA3E3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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