#8D1789#8D1789

#8D1789 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.192 H 329.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8D1789
RGBrgb(141, 23, 137)
HSLhsl(302, 72%, 32%)
HSVhsv(302, 84%, 55%)
CMYKcmyk(0%, 83.7%, 2.8%, 44.7%)
CIE-LABlab(34.15, 58.77, -34.99)
CIE-LCHlch(34.15, 68.40, 329.23°)
OKLaboklab(45.81% 0.1661 -0.0969)
OKLCHoklch(45.81% 0.192 329.8)
XYZxyz(15.8062, 8.0829, 24.3897)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1789 #178D1B
analogous
#56178D #8D1789 #8D174E
triadic
#8D1789 #898D17 #17898D
tetradic
#8D1789 #8D5617 #178D1B #174E8D
square
#8D1789 #8D5617 #178D1B #174E8D
split-complementary
#8D1789 #4E8D17 #178D56
monochromatic
#240623 #580E56 #8D1789 #C220BC #E03FDA

Accessibility & contrast

On white

8.03
#8D1789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8D1789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1789
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1789#FFFFFF#000000##FFFFFF
##8D17891.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1789;
/* rgb */ color: rgb(141, 23, 137);
/* oklch */ color: oklch(45.8% 0.192 329.8);
Tailwind
colors: {
  custom: {
    50: '#b266ac',
    500: '#8d1789',
    950: '#000000',
  },
}
SCSS
$custom: #8d1789;
$custom-light: #b266ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1789",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 302.034,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45806,
    "c": 0.1923,
    "h": 329.8
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#8D1789
secondary
#40C044
accent
#EF3F39
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1789

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

Preview Lab → · Contrast checker → · Palette generator →

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