#8D1586#8D1586

#8D1586 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.192 H 331.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8D1586
RGBrgb(141, 21, 134)
HSLhsl(304, 74%, 32%)
HSVhsv(304, 85%, 55%)
CMYKcmyk(0%, 85.1%, 5%, 44.7%)
CIE-LABlab(33.82, 58.76, -33.66)
CIE-LCHlch(33.82, 67.72, 330.19°)
OKLaboklab(45.51% 0.1675 -0.093)
OKLCHoklch(45.51% 0.192 331)
XYZxyz(15.5557, 7.9216, 23.2594)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1586 #158D1C
analogous
#58158D #8D1586 #8D154A
triadic
#8D1586 #868D15 #15868D
tetradic
#8D1586 #8D5815 #158D1C #154A8D
square
#8D1586 #8D5815 #158D1C #154A8D
split-complementary
#8D1586 #4A8D15 #158D58
monochromatic
#220521 #580D53 #8D1586 #C21DB9 #E23BD8

Accessibility & contrast

On white

8.13
#8D1586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D1586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1586
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1586#FFFFFF#000000##FFFFFF
##8D15861.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#3F5583
Tritanopia (blue-blind)
#93284F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1586;
/* rgb */ color: rgb(141, 21, 134);
/* oklch */ color: oklch(45.5% 0.192 331.0);
Tailwind
colors: {
  custom: {
    50: '#b265aa',
    500: '#8d1586',
    950: '#000000',
  },
}
SCSS
$custom: #8d1586;
$custom-light: #b265aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1586",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 134
  },
  "hsl": {
    "h": 303.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45511,
    "c": 0.19162,
    "h": 331
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#8D1586
secondary
#3DC145
accent
#F14237
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8D1586

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

Preview Lab → · Contrast checker → · Palette generator →

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