#8D1384#8D1384

#8D1384 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.192 H 331.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8D1384
RGBrgb(141, 19, 132)
HSLhsl(304, 76%, 31%)
HSVhsv(304, 87%, 55%)
CMYKcmyk(0%, 86.5%, 6.4%, 44.7%)
CIE-LABlab(33.55, 58.88, -32.84)
CIE-LCHlch(33.55, 67.42, 330.85°)
OKLaboklab(45.29% 0.1688 -0.0906)
OKLCHoklch(45.29% 0.192 331.8)
XYZxyz(15.3823, 7.7957, 22.5199)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1384 #138D1C
analogous
#59138D #8D1384 #8D1347
triadic
#8D1384 #848D13 #13848D
tetradic
#8D1384 #8D5913 #138D1C #13478D
square
#8D1384 #8D5913 #138D1C #13478D
split-complementary
#8D1384 #478D13 #138D59
monochromatic
#21041F #570C52 #8D1384 #C31AB6 #E436D7

Accessibility & contrast

On white

8.21
#8D1384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8D1384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1384
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1384#FFFFFF#000000##FFFFFF
##8D13841.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#405581
Tritanopia (blue-blind)
#93264E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1384;
/* rgb */ color: rgb(141, 19, 132);
/* oklch */ color: oklch(45.3% 0.192 331.8);
Tailwind
colors: {
  custom: {
    50: '#b264a8',
    500: '#8d1384',
    950: '#000000',
  },
}
SCSS
$custom: #8d1384;
$custom-light: #b264a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1384",
  "rgb": {
    "r": 141,
    "g": 19,
    "b": 132
  },
  "hsl": {
    "h": 304.426,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45285,
    "c": 0.19161,
    "h": 331.8
  },
  "luminance": 0.07794
}

Semantic roles & 50–950 ramp

primary
#8D1384
secondary
#3BC145
accent
#F34335
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8D1384

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

Preview Lab → · Contrast checker → · Palette generator →

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