#8D41A3#8D41A3

#8D41A3 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.5% C 0.164 H 318.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8D41A3
RGBrgb(141, 65, 163)
HSLhsl(287, 43%, 45%)
HSVhsv(287, 60%, 64%)
CMYKcmyk(13.5%, 60.1%, 0%, 36.1%)
CIE-LABlab(41.36, 47.59, -39.34)
CIE-LCHlch(41.36, 61.75, 320.42°)
OKLaboklab(51.47% 0.1222 -0.1098)
OKLCHoklch(51.47% 0.164 318)
XYZxyz(19.4847, 12.0884, 35.9502)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41A3 #57A341
analogous
#5C41A3 #8D41A3 #A34188
triadic
#8D41A3 #A38D41 #41A38D
tetradic
#8D41A3 #A35C41 #57A341 #4188A3
square
#8D41A3 #A35C41 #57A341 #4188A3
split-complementary
#8D41A3 #88A341 #41A35C
monochromatic
#411E4B #673077 #8D41A3 #AB61C0 #C28DD1

Accessibility & contrast

On white

6.14
#8D41A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8D41A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41A3
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41A3#FFFFFF#000000##FFFFFF
##8D41A31.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA6
Deuteranopia (green-blind)
#4564A1
Tritanopia (blue-blind)
#8D516C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d41a3;
/* rgb */ color: rgb(141, 65, 163);
/* oklch */ color: oklch(51.5% 0.164 318.0);
Tailwind
colors: {
  custom: {
    50: '#b17abf',
    500: '#8d41a3',
    950: '#000000',
  },
}
SCSS
$custom: #8d41a3;
$custom-light: #b17abf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41a3",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 163
  },
  "hsl": {
    "h": 286.531,
    "s": 42.982,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51474,
    "c": 0.16428,
    "h": 318
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#8D41A3
secondary
#90BD83
accent
#D35571
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D41A3

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

Preview Lab → · Contrast checker → · Palette generator →

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