#8D41AA#8D41AA

#8D41AA is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.9% C 0.171 H 315.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8D41AA
RGBrgb(141, 65, 170)
HSLhsl(283, 45%, 46%)
HSVhsv(283, 62%, 67%)
CMYKcmyk(17.1%, 61.8%, 0%, 33.3%)
CIE-LABlab(41.76, 49.06, -42.87)
CIE-LCHlch(41.76, 65.15, 318.86°)
OKLaboklab(51.9% 0.1223 -0.1201)
OKLCHoklch(51.9% 0.171 315.5)
XYZxyz(20.1294, 12.3463, 39.3451)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41AA #5EAA41
analogous
#5841AA #8D41AA #AA4192
triadic
#8D41AA #AA8D41 #41AA8D
tetradic
#8D41AA #AA5841 #5EAA41 #4192AA
square
#8D41AA #AA5841 #5EAA41 #4192AA
split-complementary
#8D41AA #92AA41 #41AA58
monochromatic
#441F51 #68307E #8D41AA #A964C4 #C291D5

Accessibility & contrast

On white

6.05
#8D41AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8D41AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41AA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41AA#FFFFFF#000000##FFFFFF
##8D41AA1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAD
Deuteranopia (green-blind)
#4065A7
Tritanopia (blue-blind)
#8B546F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d41aa;
/* rgb */ color: rgb(141, 65, 170);
/* oklch */ color: oklch(51.9% 0.171 315.5);
Tailwind
colors: {
  custom: {
    50: '#b17ac4',
    500: '#8d41aa',
    950: '#000000',
  },
}
SCSS
$custom: #8d41aa;
$custom-light: #b17ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41aa",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 283.429,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51899,
    "c": 0.17144,
    "h": 315.5
  },
  "luminance": 0.12346
}

Semantic roles & 50–950 ramp

primary
#8D41AA
secondary
#97C087
accent
#D45377
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D41AA

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

Preview Lab → · Contrast checker → · Palette generator →

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