#8D41A6#8D41A6

#8D41A6 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.7% C 0.167 H 316.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8D41A6
RGBrgb(141, 65, 166)
HSLhsl(285, 44%, 45%)
HSVhsv(285, 61%, 65%)
CMYKcmyk(15.1%, 60.8%, 0%, 34.9%)
CIE-LABlab(41.53, 48.22, -40.86)
CIE-LCHlch(41.53, 63.20, 319.72°)
OKLaboklab(51.65% 0.1223 -0.1142)
OKLCHoklch(51.65% 0.167 316.9)
XYZxyz(19.7567, 12.1972, 37.3826)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41A6 #5AA641
analogous
#5B41A6 #8D41A6 #A6418C
triadic
#8D41A6 #A68D41 #41A68D
tetradic
#8D41A6 #A65B41 #5AA641 #418CA6
square
#8D41A6 #A65B41 #5AA641 #418CA6
split-complementary
#8D41A6 #8CA641 #41A65B
monochromatic
#421F4E #68307A #8D41A6 #AA62C2 #C28ED3

Accessibility & contrast

On white

6.11
#8D41A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8D41A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41A6
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41A6#FFFFFF#000000##FFFFFF
##8D41A61.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255DA9
Deuteranopia (green-blind)
#4364A3
Tritanopia (blue-blind)
#8C526D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d41a6;
/* rgb */ color: rgb(141, 65, 166);
/* oklch */ color: oklch(51.7% 0.167 316.9);
Tailwind
colors: {
  custom: {
    50: '#b17ac1',
    500: '#8d41a6',
    950: '#000000',
  },
}
SCSS
$custom: #8d41a6;
$custom-light: #b17ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41a6",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 166
  },
  "hsl": {
    "h": 285.149,
    "s": 43.723,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51654,
    "c": 0.16734,
    "h": 316.9
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#8D41A6
secondary
#93BE85
accent
#D35474
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D41A6

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

Preview Lab → · Contrast checker → · Palette generator →

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