#8D1581#8D1581

#8D1581 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.188 H 333.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8D1581
RGBrgb(141, 21, 129)
HSLhsl(306, 74%, 32%)
HSVhsv(306, 85%, 55%)
CMYKcmyk(0%, 85.1%, 8.5%, 44.7%)
CIE-LABlab(33.53, 57.99, -31.00)
CIE-LCHlch(33.53, 65.76, 331.87°)
OKLaboklab(45.21% 0.1676 -0.0853)
OKLCHoklch(45.21% 0.188 333)
XYZxyz(15.2152, 7.7854, 21.4660)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1581 #158D21
analogous
#5D158D #8D1581 #8D1545
triadic
#8D1581 #818D15 #15818D
tetradic
#8D1581 #8D5D15 #158D21 #15458D
square
#8D1581 #8D5D15 #158D21 #15458D
split-complementary
#8D1581 #458D15 #158D5D
monochromatic
#220520 #580D50 #8D1581 #C21DB2 #E23BD1

Accessibility & contrast

On white

8.21
#8D1581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8D1581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1581
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1581#FFFFFF#000000##FFFFFF
##8D15811.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4484
Deuteranopia (green-blind)
#42557E
Tritanopia (blue-blind)
#94254C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1581;
/* rgb */ color: rgb(141, 21, 129);
/* oklch */ color: oklch(45.2% 0.188 333.0);
Tailwind
colors: {
  custom: {
    50: '#b265a6',
    500: '#8d1581',
    950: '#000000',
  },
}
SCSS
$custom: #8d1581;
$custom-light: #b265a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1581",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 306,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45214,
    "c": 0.18804,
    "h": 333
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

primary
#8D1581
secondary
#3DC14A
accent
#F14A37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D1581

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

Preview Lab → · Contrast checker → · Palette generator →

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