#8D1B8B#8D1B8B

#8D1B8B is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.190 H 328.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8D1B8B
RGBrgb(141, 27, 139)
HSLhsl(301, 68%, 33%)
HSVhsv(301, 81%, 55%)
CMYKcmyk(0%, 80.9%, 1.4%, 44.7%)
CIE-LABlab(34.62, 58.08, -35.48)
CIE-LCHlch(34.62, 68.06, 328.58°)
OKLaboklab(46.18% 0.1632 -0.0983)
OKLCHoklch(46.18% 0.19 328.9)
XYZxyz(16.0365, 8.3119, 25.1808)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B8B #1B8D1D
analogous
#561B8D #8D1B8B #8D1B52
triadic
#8D1B8B #8B8D1B #1B8B8D
tetradic
#8D1B8B #8D561B #1B8D1D #1B528D
square
#8D1B8B #8D561B #1B8D1D #1B528D
split-complementary
#8D1B8B #528D1B #1B8D56
monochromatic
#260726 #5A1158 #8D1B8B #C025BE #DC47D9

Accessibility & contrast

On white

7.89
#8D1B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8D1B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B8B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B8B#FFFFFF#000000##FFFFFF
##8D1B8B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#3E5788
Tritanopia (blue-blind)
#922E53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1b8b;
/* rgb */ color: rgb(141, 27, 139);
/* oklch */ color: oklch(46.2% 0.190 328.9);
Tailwind
colors: {
  custom: {
    50: '#b267ad',
    500: '#8d1b8b',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b8b;
$custom-light: #b267ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b8b",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 301.053,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46178,
    "c": 0.19048,
    "h": 328.9
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#8D1B8B
secondary
#46BD49
accent
#EB403D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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