#8D1785#8D1785

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

Color values

HEX#8D1785
RGBrgb(141, 23, 133)
HSLhsl(304, 72%, 32%)
HSVhsv(304, 84%, 55%)
CMYKcmyk(0%, 83.7%, 5.7%, 44.7%)
CIE-LABlab(33.92, 58.14, -32.88)
CIE-LCHlch(33.92, 66.79, 330.51°)
OKLaboklab(45.56% 0.1662 -0.0907)
OKLCHoklch(45.56% 0.189 331.4)
XYZxyz(15.5246, 7.9703, 22.9065)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1785 #178D1F
analogous
#5A178D #8D1785 #8D174A
triadic
#8D1785 #858D17 #17858D
tetradic
#8D1785 #8D5A17 #178D1F #174A8D
square
#8D1785 #8D5A17 #178D1F #174A8D
split-complementary
#8D1785 #4A8D17 #178D5A
monochromatic
#240622 #580E53 #8D1785 #C220B7 #E03FD5

Accessibility & contrast

On white

8.10
#8D1785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8D1785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1785
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1785#FFFFFF#000000##FFFFFF
##8D17851.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054688
Deuteranopia (green-blind)
#405582
Tritanopia (blue-blind)
#93294F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1785;
/* rgb */ color: rgb(141, 23, 133);
/* oklch */ color: oklch(45.6% 0.189 331.4);
Tailwind
colors: {
  custom: {
    50: '#b265a9',
    500: '#8d1785',
    950: '#000000',
  },
}
SCSS
$custom: #8d1785;
$custom-light: #b265a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1785",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 304.068,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45564,
    "c": 0.18936,
    "h": 331.4
  },
  "luminance": 0.07969
}

Semantic roles & 50–950 ramp

primary
#8D1785
secondary
#40C049
accent
#EF4539
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1785

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

Preview Lab → · Contrast checker → · Palette generator →

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