#8D1D81#8D1D81

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

Color values

HEX#8D1D81
RGBrgb(141, 29, 129)
HSLhsl(306, 66%, 33%)
HSVhsv(306, 79%, 55%)
CMYKcmyk(0%, 79.4%, 8.5%, 44.7%)
CIE-LABlab(34.25, 55.92, -29.87)
CIE-LCHlch(34.25, 63.40, 331.89°)
OKLaboklab(45.73% 0.1615 -0.0821)
OKLCHoklch(45.73% 0.181 333.1)
XYZxyz(15.3864, 8.1278, 21.5231)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D81 #1D8D29
analogous
#611D8D #8D1D81 #8D1D49
triadic
#8D1D81 #818D1D #1D818D
tetradic
#8D1D81 #8D611D #1D8D29 #1D498D
square
#8D1D81 #8D611D #1D8D29 #1D498D
split-complementary
#8D1D81 #498D1D #1D8D61
monochromatic
#270824 #5A1353 #8D1D81 #C027AF #DA4BCB

Accessibility & contrast

On white

8.00
#8D1D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8D1D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D81
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D81#FFFFFF#000000##FFFFFF
##8D1D811.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174684
Deuteranopia (green-blind)
#44567E
Tritanopia (blue-blind)
#942A4E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1d81;
/* rgb */ color: rgb(141, 29, 129);
/* oklch */ color: oklch(45.7% 0.181 333.1);
Tailwind
colors: {
  custom: {
    50: '#b267a6',
    500: '#8d1d81',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d81;
$custom-light: #b267a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d81",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 306.429,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45725,
    "c": 0.18117,
    "h": 333.1
  },
  "luminance": 0.08126
}

Semantic roles & 50–950 ramp

primary
#8D1D81
secondary
#4ABC56
accent
#E9513F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1D81

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

Preview Lab → · Contrast checker → · Palette generator →

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