#8D419A#8D419A

#8D419A is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.0% C 0.155 H 321.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8D419A
RGBrgb(141, 65, 154)
HSLhsl(291, 41%, 43%)
HSVhsv(291, 58%, 60%)
CMYKcmyk(8.4%, 57.8%, 0%, 39.6%)
CIE-LABlab(40.86, 45.76, -34.73)
CIE-LCHlch(40.86, 57.45, 322.80°)
OKLaboklab(50.95% 0.1216 -0.0964)
OKLCHoklch(50.95% 0.155 321.6)
XYZxyz(18.7069, 11.7773, 31.8535)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D419A #4E9A41
analogous
#60419A #8D419A #9A417A
triadic
#8D419A #9A8D41 #419A8D
tetradic
#8D419A #9A6041 #4E9A41 #417A9A
square
#8D419A #9A6041 #4E9A41 #417A9A
split-complementary
#8D419A #7A9A41 #419A60
monochromatic
#3E1D44 #662F6F #8D419A #AD5DBB #C388CD

Accessibility & contrast

On white

6.26
#8D419A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8D419A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D419A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D419A#FFFFFF#000000##FFFFFF
##8D419A1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305B9D
Deuteranopia (green-blind)
#4B6398
Tritanopia (blue-blind)
#8F4E67
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d419a;
/* rgb */ color: rgb(141, 65, 154);
/* oklch */ color: oklch(51.0% 0.155 321.6);
Tailwind
colors: {
  custom: {
    50: '#b17ab8',
    500: '#8d419a',
    950: '#000000',
  },
}
SCSS
$custom: #8d419a;
$custom-light: #b17ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d419a",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 291.236,
    "s": 40.639,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.15523,
    "h": 321.6
  },
  "luminance": 0.11776
}

Semantic roles & 50–950 ramp

primary
#8D419A
secondary
#87B87F
accent
#D05769
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8D419A

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

Preview Lab → · Contrast checker → · Palette generator →

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