#8D419D#8D419D

#8D419D is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.1% C 0.158 H 320.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8D419D
RGBrgb(141, 65, 157)
HSLhsl(290, 41%, 44%)
HSVhsv(290, 59%, 62%)
CMYKcmyk(10.2%, 58.6%, 0%, 38.4%)
CIE-LABlab(41.02, 46.36, -36.28)
CIE-LCHlch(41.02, 58.87, 321.96°)
OKLaboklab(51.12% 0.1219 -0.1009)
OKLCHoklch(51.12% 0.158 320.4)
XYZxyz(18.9599, 11.8785, 33.1858)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D419D #519D41
analogous
#5F419D #8D419D #9D417F
triadic
#8D419D #9D8D41 #419D8D
tetradic
#8D419D #9D5F41 #519D41 #417F9D
square
#8D419D #9D5F41 #519D41 #417F9D
split-complementary
#8D419D #7F9D41 #419D5F
monochromatic
#3F1D46 #662F72 #8D419D #AC5FBD #C38ACF

Accessibility & contrast

On white

6.22
#8D419D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8D419D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D419D
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D419D#FFFFFF#000000##FFFFFF
##8D419D1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5BA0
Deuteranopia (green-blind)
#49649B
Tritanopia (blue-blind)
#8E4F69
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d419d;
/* rgb */ color: rgb(141, 65, 157);
/* oklch */ color: oklch(51.1% 0.158 320.4);
Tailwind
colors: {
  custom: {
    50: '#b17aba',
    500: '#8d419d',
    950: '#000000',
  },
}
SCSS
$custom: #8d419d;
$custom-light: #b17aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d419d",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 289.565,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51122,
    "c": 0.15822,
    "h": 320.4
  },
  "luminance": 0.11878
}

Semantic roles & 50–950 ramp

primary
#8D419D
secondary
#8AB980
accent
#D1576C
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D419D

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

Preview Lab → · Contrast checker → · Palette generator →

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