#8D1588#8D1588

#8D1588 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.193 H 330.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8D1588
RGBrgb(141, 21, 136)
HSLhsl(303, 74%, 32%)
HSVhsv(303, 85%, 55%)
CMYKcmyk(0%, 85.1%, 3.5%, 44.7%)
CIE-LABlab(33.94, 59.08, -34.72)
CIE-LCHlch(33.94, 68.52, 329.56°)
OKLaboklab(45.63% 0.1675 -0.0961)
OKLCHoklch(45.63% 0.193 330.2)
XYZxyz(15.6966, 7.9779, 24.0010)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1588 #158D1A
analogous
#56158D #8D1588 #8D154C
triadic
#8D1588 #888D15 #15888D
tetradic
#8D1588 #8D5615 #158D1A #154C8D
square
#8D1588 #8D5615 #158D1A #154C8D
split-complementary
#8D1588 #4C8D15 #158D56
monochromatic
#220521 #580D55 #8D1588 #C21DBB #E23BDB

Accessibility & contrast

On white

8.09
#8D1588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1588
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1588#FFFFFF#000000##FFFFFF
##8D15881.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#932951
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1588;
/* rgb */ color: rgb(141, 21, 136);
/* oklch */ color: oklch(45.6% 0.193 330.2);
Tailwind
colors: {
  custom: {
    50: '#b265ab',
    500: '#8d1588',
    950: '#000000',
  },
}
SCSS
$custom: #8d1588;
$custom-light: #b265ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1588",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 136
  },
  "hsl": {
    "h": 302.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.19307,
    "h": 330.2
  },
  "luminance": 0.07977
}

Semantic roles & 50–950 ramp

primary
#8D1588
secondary
#3DC143
accent
#F13F37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8D1588

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

Preview Lab → · Contrast checker → · Palette generator →

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