#8D1589#8D1589

#8D1589 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.194 H 329.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8D1589
RGBrgb(141, 21, 137)
HSLhsl(302, 74%, 32%)
HSVhsv(302, 85%, 55%)
CMYKcmyk(0%, 85.1%, 2.8%, 44.7%)
CIE-LABlab(34.00, 59.23, -35.24)
CIE-LCHlch(34.00, 68.92, 329.25°)
OKLaboklab(45.69% 0.1674 -0.0976)
OKLCHoklch(45.69% 0.194 329.8)
XYZxyz(15.7679, 8.0065, 24.3770)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1589 #158D19
analogous
#55158D #8D1589 #8D154D
triadic
#8D1589 #898D15 #15898D
tetradic
#8D1589 #8D5515 #158D19 #154D8D
square
#8D1589 #8D5515 #158D19 #154D8D
split-complementary
#8D1589 #4D8D15 #158D55
monochromatic
#220521 #580D55 #8D1589 #C21DBD #E23BDC

Accessibility & contrast

On white

8.07
#8D1589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8D1589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1589
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1589#FFFFFF#000000##FFFFFF
##8D15891.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#922A51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1589;
/* rgb */ color: rgb(141, 21, 137);
/* oklch */ color: oklch(45.7% 0.194 329.8);
Tailwind
colors: {
  custom: {
    50: '#b265ac',
    500: '#8d1589',
    950: '#000000',
  },
}
SCSS
$custom: #8d1589;
$custom-light: #b265ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1589",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 302,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45693,
    "c": 0.19381,
    "h": 329.8
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#8D1589
secondary
#3DC141
accent
#F13D37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8D1589

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

Preview Lab → · Contrast checker → · Palette generator →

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