#8D419F#8D419F

#8D419F is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.2% C 0.160 H 319.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8D419F
RGBrgb(141, 65, 159)
HSLhsl(289, 42%, 44%)
HSVhsv(289, 59%, 62%)
CMYKcmyk(11.3%, 59.1%, 0%, 37.6%)
CIE-LABlab(41.13, 46.77, -37.31)
CIE-LCHlch(41.13, 59.83, 321.42°)
OKLaboklab(51.24% 0.122 -0.1039)
OKLCHoklch(51.24% 0.16 319.6)
XYZxyz(19.1320, 11.9473, 34.0925)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D419F #539F41
analogous
#5E419F #8D419F #9F4182
triadic
#8D419F #9F8D41 #419F8D
tetradic
#8D419F #9F5E41 #539F41 #41829F
square
#8D419F #9F5E41 #539F41 #41829F
split-complementary
#8D419F #829F41 #419F5E
monochromatic
#401D48 #662F74 #8D419F #AC5FBE #C28BD0

Accessibility & contrast

On white

6.20
#8D419F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8D419F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D419F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D419F#FFFFFF#000000##FFFFFF
##8D419F1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5CA2
Deuteranopia (green-blind)
#48649D
Tritanopia (blue-blind)
#8D506A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d419f;
/* rgb */ color: rgb(141, 65, 159);
/* oklch */ color: oklch(51.2% 0.160 319.6);
Tailwind
colors: {
  custom: {
    50: '#b17abc',
    500: '#8d419f',
    950: '#000000',
  },
}
SCSS
$custom: #8d419f;
$custom-light: #b17abc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d419f",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 288.511,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51238,
    "c": 0.16023,
    "h": 319.6
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#8D419F
secondary
#8CBA81
accent
#D2566E
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D419F

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

Preview Lab → · Contrast checker → · Palette generator →

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