#8D1584#8D1584

#8D1584 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.190 H 331.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8D1584
RGBrgb(141, 21, 132)
HSLhsl(305, 74%, 32%)
HSVhsv(305, 85%, 55%)
CMYKcmyk(0%, 85.1%, 6.4%, 44.7%)
CIE-LABlab(33.70, 58.45, -32.60)
CIE-LCHlch(33.70, 66.93, 330.85°)
OKLaboklab(45.39% 0.1676 -0.0899)
OKLCHoklch(45.39% 0.19 331.8)
XYZxyz(15.4176, 7.8663, 22.5317)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1584 #158D1E
analogous
#5A158D #8D1584 #8D1548
triadic
#8D1584 #848D15 #15848D
tetradic
#8D1584 #8D5A15 #158D1E #15488D
square
#8D1584 #8D5A15 #158D1E #15488D
split-complementary
#8D1584 #488D15 #158D5A
monochromatic
#220520 #580D52 #8D1584 #C21DB6 #E23BD5

Accessibility & contrast

On white

8.16
#8D1584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8D1584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1584
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1584#FFFFFF#000000##FFFFFF
##8D15841.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044587
Deuteranopia (green-blind)
#405581
Tritanopia (blue-blind)
#93274E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1584;
/* rgb */ color: rgb(141, 21, 132);
/* oklch */ color: oklch(45.4% 0.190 331.8);
Tailwind
colors: {
  custom: {
    50: '#b265a8',
    500: '#8d1584',
    950: '#000000',
  },
}
SCSS
$custom: #8d1584;
$custom-light: #b265a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1584",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 132
  },
  "hsl": {
    "h": 304.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45391,
    "c": 0.19018,
    "h": 331.8
  },
  "luminance": 0.07865
}

Semantic roles & 50–950 ramp

primary
#8D1584
secondary
#3DC147
accent
#F14537
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D1584

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

Preview Lab → · Contrast checker → · Palette generator →

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