#8D1981#8D1981

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

Color values

HEX#8D1981
RGBrgb(141, 25, 129)
HSLhsl(306, 70%, 33%)
HSVhsv(306, 82%, 55%)
CMYKcmyk(0%, 82.3%, 8.5%, 44.7%)
CIE-LABlab(33.87, 57.02, -30.47)
CIE-LCHlch(33.87, 64.65, 331.88°)
OKLaboklab(45.45% 0.1647 -0.0838)
OKLCHoklch(45.45% 0.185 333)
XYZxyz(15.2947, 7.9443, 21.4925)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1981 #198D25
analogous
#5F198D #8D1981 #8D1947
triadic
#8D1981 #818D19 #19818D
tetradic
#8D1981 #8D5F19 #198D25 #19478D
square
#8D1981 #8D5F19 #198D25 #19478D
split-complementary
#8D1981 #478D19 #198D5F
monochromatic
#250722 #591051 #8D1981 #C122B1 #DE43CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D1981#FFFFFF#000000##FFFFFF
##8D19811.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)
#114584
Deuteranopia (green-blind)
#43557E
Tritanopia (blue-blind)
#94274D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1981;
/* rgb */ color: rgb(141, 25, 129);
/* oklch */ color: oklch(45.5% 0.185 333.0);
Tailwind
colors: {
  custom: {
    50: '#b266a6',
    500: '#8d1981',
    950: '#000000',
  },
}
SCSS
$custom: #8d1981;
$custom-light: #b266a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1981",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 306.207,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.18481,
    "h": 333
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#8D1981
secondary
#43BF50
accent
#ED4D3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1981

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

Preview Lab → · Contrast checker → · Palette generator →

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