#8D419C#8D419C

#8D419C is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.1% C 0.157 H 320.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8D419C
RGBrgb(141, 65, 156)
HSLhsl(290, 41%, 43%)
HSVhsv(290, 58%, 61%)
CMYKcmyk(9.6%, 58.3%, 0%, 38.8%)
CIE-LABlab(40.97, 46.16, -35.77)
CIE-LCHlch(40.97, 58.39, 322.23°)
OKLaboklab(51.06% 0.1218 -0.0994)
OKLCHoklch(51.06% 0.157 320.8)
XYZxyz(18.8749, 11.8445, 32.7380)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D419C #509C41
analogous
#5F419C #8D419C #9C417D
triadic
#8D419C #9C8D41 #419C8D
tetradic
#8D419C #9C5F41 #509C41 #417D9C
square
#8D419C #9C5F41 #509C41 #417D9C
split-complementary
#8D419C #7D9C41 #419C5F
monochromatic
#3F1D46 #662F71 #8D419C #AD5EBC #C389CE

Accessibility & contrast

On white

6.23
#8D419C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8D419C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D419C
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D419C#FFFFFF#000000##FFFFFF
##8D419C1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9F
Deuteranopia (green-blind)
#49639A
Tritanopia (blue-blind)
#8E4F68
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d419c;
/* rgb */ color: rgb(141, 65, 156);
/* oklch */ color: oklch(51.1% 0.157 320.8);
Tailwind
colors: {
  custom: {
    50: '#b17ab9',
    500: '#8d419c',
    950: '#000000',
  },
}
SCSS
$custom: #8d419c;
$custom-light: #b17ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d419c",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 290.11,
    "s": 41.176,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.15722,
    "h": 320.8
  },
  "luminance": 0.11844
}

Semantic roles & 50–950 ramp

primary
#8D419C
secondary
#89B980
accent
#D1576B
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8D419C

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

Preview Lab → · Contrast checker → · Palette generator →

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