#8D1381#8D1381

#8D1381 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.189 H 333.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8D1381
RGBrgb(141, 19, 129)
HSLhsl(306, 76%, 31%)
HSVhsv(306, 87%, 55%)
CMYKcmyk(0%, 86.5%, 8.5%, 44.7%)
CIE-LABlab(33.38, 58.43, -31.24)
CIE-LCHlch(33.38, 66.25, 331.87°)
OKLaboklab(45.11% 0.1689 -0.086)
OKLCHoklch(45.11% 0.189 333)
XYZxyz(15.1799, 7.7148, 21.4543)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1381 #138D1F
analogous
#5C138D #8D1381 #8D1344
triadic
#8D1381 #818D13 #13818D
tetradic
#8D1381 #8D5C13 #138D1F #13448D
square
#8D1381 #8D5C13 #138D1F #13448D
split-complementary
#8D1381 #448D13 #138D5C
monochromatic
#21041E #570C50 #8D1381 #C31AB2 #E436D3

Accessibility & contrast

On white

8.26
#8D1381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8D1381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1381
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1381#FFFFFF#000000##FFFFFF
##8D13811.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084484
Deuteranopia (green-blind)
#41547E
Tritanopia (blue-blind)
#94244C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1381;
/* rgb */ color: rgb(141, 19, 129);
/* oklch */ color: oklch(45.1% 0.189 333.0);
Tailwind
colors: {
  custom: {
    50: '#b264a6',
    500: '#8d1381',
    950: '#000000',
  },
}
SCSS
$custom: #8d1381;
$custom-light: #b264a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1381",
  "rgb": {
    "r": 141,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 305.902,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45107,
    "c": 0.18948,
    "h": 333
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#8D1381
secondary
#3BC148
accent
#F34835
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D1381

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

Preview Lab → · Contrast checker → · Palette generator →

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