#8D1AA1#8D1AA1

#8D1AA1 is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.6% C 0.208 H 320.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8D1AA1
RGBrgb(141, 26, 161)
HSLhsl(291, 72%, 37%)
HSVhsv(291, 84%, 63%)
CMYKcmyk(12.4%, 83.9%, 0%, 36.9%)
CIE-LABlab(35.94, 62.12, -46.81)
CIE-LCHlch(35.94, 77.78, 323.00°)
OKLaboklab(47.55% 0.1618 -0.1314)
OKLCHoklch(47.55% 0.208 320.9)
XYZxyz(17.7862, 8.9757, 34.5069)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1AA1 #2EA11A
analogous
#4A1AA1 #8D1AA1 #A11A72
triadic
#8D1AA1 #A18D1A #1AA18D
tetradic
#8D1AA1 #A14A1A #2EA11A #1A72A1
square
#8D1AA1 #A14A1A #2EA11A #1A72A1
split-complementary
#8D1AA1 #72A11A #1AA14A
monochromatic
#310938 #5F116C #8D1AA1 #BB23D6 #CE52E3

Accessibility & contrast

On white

7.51
#8D1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8D1AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1AA1
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1AA1#FFFFFF#000000##FFFFFF
##8D1AA11.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#2C589E
Tritanopia (blue-blind)
#8E3960
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d1aa1;
/* rgb */ color: rgb(141, 26, 161);
/* oklch */ color: oklch(47.6% 0.208 320.9);
Tailwind
colors: {
  custom: {
    50: '#b368bd',
    500: '#8d1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #8d1aa1;
$custom-light: #b368bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1aa1",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 291.111,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47554,
    "c": 0.20843,
    "h": 320.9
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

primary
#8D1AA1
secondary
#62C651
accent
#EF3954
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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