#8D1C81#8D1C81

#8D1C81 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.182 H 333.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8D1C81
RGBrgb(141, 28, 129)
HSLhsl(306, 67%, 33%)
HSVhsv(306, 80%, 55%)
CMYKcmyk(0%, 80.1%, 8.5%, 44.7%)
CIE-LABlab(34.15, 56.20, -30.03)
CIE-LCHlch(34.15, 63.72, 331.89°)
OKLaboklab(45.65% 0.1624 -0.0825)
OKLCHoklch(45.65% 0.182 333.1)
XYZxyz(15.3623, 8.0795, 21.5150)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C81 #1C8D28
analogous
#601C8D #8D1C81 #8D1C48
triadic
#8D1C81 #818D1C #1C818D
tetradic
#8D1C81 #8D601C #1C8D28 #1C488D
square
#8D1C81 #8D601C #1C8D28 #1C488D
split-complementary
#8D1C81 #488D1C #1C8D60
monochromatic
#270824 #5A1252 #8D1C81 #C026B0 #DB49CB

Accessibility & contrast

On white

8.03
#8D1C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8D1C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C81
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C81#FFFFFF#000000##FFFFFF
##8D1C811.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164684
Deuteranopia (green-blind)
#44567E
Tritanopia (blue-blind)
#94294E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1c81;
/* rgb */ color: rgb(141, 28, 129);
/* oklch */ color: oklch(45.7% 0.182 333.1);
Tailwind
colors: {
  custom: {
    50: '#b267a6',
    500: '#8d1c81',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c81;
$custom-light: #b267a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c81",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 306.372,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45653,
    "c": 0.18212,
    "h": 333.1
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#8D1C81
secondary
#48BD54
accent
#EA503E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1C81

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

Preview Lab → · Contrast checker → · Palette generator →

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