#8D1582#8D1582

#8D1582 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.189 H 332.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8D1582
RGBrgb(141, 21, 130)
HSLhsl(306, 74%, 32%)
HSVhsv(306, 85%, 55%)
CMYKcmyk(0%, 85.1%, 7.8%, 44.7%)
CIE-LABlab(33.59, 58.14, -31.54)
CIE-LCHlch(33.59, 66.14, 331.52°)
OKLaboklab(45.27% 0.1676 -0.0868)
OKLCHoklch(45.27% 0.189 332.6)
XYZxyz(15.2820, 7.8121, 21.8178)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1582 #158D20
analogous
#5C158D #8D1582 #8D1546
triadic
#8D1582 #828D15 #15828D
tetradic
#8D1582 #8D5C15 #158D20 #15468D
square
#8D1582 #8D5C15 #158D20 #15468D
split-complementary
#8D1582 #468D15 #158D5C
monochromatic
#220520 #580D51 #8D1582 #C21DB3 #E23BD2

Accessibility & contrast

On white

8.20
#8D1582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1582
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1582#FFFFFF#000000##FFFFFF
##8D15821.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094485
Deuteranopia (green-blind)
#41557F
Tritanopia (blue-blind)
#93264D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1582;
/* rgb */ color: rgb(141, 21, 130);
/* oklch */ color: oklch(45.3% 0.189 332.6);
Tailwind
colors: {
  custom: {
    50: '#b265a7',
    500: '#8d1582',
    950: '#000000',
  },
}
SCSS
$custom: #8d1582;
$custom-light: #b265a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1582",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 130
  },
  "hsl": {
    "h": 305.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.18874,
    "h": 332.6
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#8D1582
secondary
#3DC149
accent
#F14837
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D1582

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

Preview Lab → · Contrast checker → · Palette generator →

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