#8D1784#8D1784

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

Color values

HEX#8D1784
RGBrgb(141, 23, 132)
HSLhsl(305, 72%, 32%)
HSVhsv(305, 84%, 55%)
CMYKcmyk(0%, 83.7%, 6.4%, 44.7%)
CIE-LABlab(33.86, 57.98, -32.35)
CIE-LCHlch(33.86, 66.40, 330.84°)
OKLaboklab(45.51% 0.1662 -0.0892)
OKLCHoklch(45.51% 0.189 331.8)
XYZxyz(15.4558, 7.9428, 22.5444)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1784 #178D20
analogous
#5B178D #8D1784 #8D1749
triadic
#8D1784 #848D17 #17848D
tetradic
#8D1784 #8D5B17 #178D20 #17498D
square
#8D1784 #8D5B17 #178D20 #17498D
split-complementary
#8D1784 #498D17 #178D5B
monochromatic
#240621 #580E53 #8D1784 #C220B5 #E03FD3

Accessibility & contrast

On white

8.11
#8D1784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1784
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1784#FFFFFF#000000##FFFFFF
##8D17841.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084587
Deuteranopia (green-blind)
#415581
Tritanopia (blue-blind)
#93284F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1784;
/* rgb */ color: rgb(141, 23, 132);
/* oklch */ color: oklch(45.5% 0.189 331.8);
Tailwind
colors: {
  custom: {
    50: '#b265a8',
    500: '#8d1784',
    950: '#000000',
  },
}
SCSS
$custom: #8d1784;
$custom-light: #b265a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1784",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 304.576,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45505,
    "c": 0.18864,
    "h": 331.8
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

primary
#8D1784
secondary
#40C04A
accent
#EF4739
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1784

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

Preview Lab → · Contrast checker → · Palette generator →

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