#8D409D#8D409D

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

Color values

HEX#8D409D
RGBrgb(141, 64, 157)
HSLhsl(290, 42%, 43%)
HSVhsv(290, 59%, 62%)
CMYKcmyk(10.2%, 59.2%, 0%, 38.4%)
CIE-LABlab(40.84, 46.86, -36.57)
CIE-LCHlch(40.84, 59.44, 322.03°)
OKLaboklab(50.99% 0.1232 -0.1017)
OKLCHoklch(50.99% 0.16 320.4)
XYZxyz(18.9030, 11.7647, 33.1669)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D409D #509D40
analogous
#5E409D #8D409D #9D407E
triadic
#8D409D #9D8D40 #409D8D
tetradic
#8D409D #9D5E40 #509D40 #407E9D
square
#8D409D #9D5E40 #509D40 #407E9D
split-complementary
#8D409D #7E9D40 #409D5E
monochromatic
#3F1D46 #662E72 #8D409D #AD5DBD #C389CF

Accessibility & contrast

On white

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

On black

3.35
#8D409D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8D409D#FFFFFF#000000##FFFFFF
##8D409D1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA0
Deuteranopia (green-blind)
#48639B
Tritanopia (blue-blind)
#8E4E68
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d409d;
/* rgb */ color: rgb(141, 64, 157);
/* oklch */ color: oklch(51.0% 0.160 320.4);
Tailwind
colors: {
  custom: {
    50: '#b179ba',
    500: '#8d409d',
    950: '#000000',
  },
}
SCSS
$custom: #8d409d;
$custom-light: #b179ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d409d",
  "rgb": {
    "r": 141,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 289.677,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50989,
    "c": 0.15978,
    "h": 320.4
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#8D409D
secondary
#89B97F
accent
#D2566B
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D409D

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

Preview Lab → · Contrast checker → · Palette generator →

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