#8D41A9#8D41A9

#8D41A9 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.8% C 0.170 H 315.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8D41A9
RGBrgb(141, 65, 169)
HSLhsl(284, 44%, 46%)
HSVhsv(284, 62%, 66%)
CMYKcmyk(16.6%, 61.5%, 0%, 33.7%)
CIE-LABlab(41.70, 48.85, -42.37)
CIE-LCHlch(41.70, 64.66, 319.07°)
OKLaboklab(51.84% 0.1223 -0.1186)
OKLCHoklch(51.84% 0.17 315.9)
XYZxyz(20.0351, 12.3086, 38.8488)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41A9 #5DA941
analogous
#5941A9 #8D41A9 #A94191
triadic
#8D41A9 #A98D41 #41A98D
tetradic
#8D41A9 #A95941 #5DA941 #4191A9
square
#8D41A9 #A95941 #5DA941 #4191A9
split-complementary
#8D41A9 #91A941 #41A959
monochromatic
#431F51 #68307D #8D41A9 #AA64C3 #C290D4

Accessibility & contrast

On white

6.07
#8D41A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8D41A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41A9
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41A9#FFFFFF#000000##FFFFFF
##8D41A91.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215EAC
Deuteranopia (green-blind)
#4165A6
Tritanopia (blue-blind)
#8B536F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d41a9;
/* rgb */ color: rgb(141, 65, 169);
/* oklch */ color: oklch(51.8% 0.170 315.9);
Tailwind
colors: {
  custom: {
    50: '#b17ac3',
    500: '#8d41a9',
    950: '#000000',
  },
}
SCSS
$custom: #8d41a9;
$custom-light: #b17ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41a9",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 169
  },
  "hsl": {
    "h": 283.846,
    "s": 44.444,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51837,
    "c": 0.17041,
    "h": 315.9
  },
  "luminance": 0.12308
}

Semantic roles & 50–950 ramp

primary
#8D41A9
secondary
#96C086
accent
#D45476
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110912
muted
#807B81

Preview Lab

Preview with #8D41A9

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

Preview Lab → · Contrast checker → · Palette generator →

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