#8D4EAA#8D4EAA

#8D4EAA is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.7% C 0.151 H 314.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8D4EAA
RGBrgb(141, 78, 170)
HSLhsl(281, 37%, 49%)
HSVhsv(281, 54%, 67%)
CMYKcmyk(17.1%, 54.1%, 0%, 33.3%)
CIE-LABlab(44.25, 42.38, -38.90)
CIE-LCHlch(44.25, 57.53, 317.45°)
OKLaboklab(53.72% 0.1051 -0.1086)
OKLCHoklch(53.72% 0.151 314)
XYZxyz(20.9634, 14.0144, 39.6232)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EAA #6BAA4E
analogous
#5F4EAA #8D4EAA #AA4E99
triadic
#8D4EAA #AA8D4E #4EAA8D
tetradic
#8D4EAA #AA5F4E #6BAA4E #4E99AA
square
#8D4EAA #AA5F4E #6BAA4E #4E99AA
split-complementary
#8D4EAA #99AA4E #4EAA5F
monochromatic
#472856 #6A3B80 #8D4EAA #A875C0 #C39FD3

Accessibility & contrast

On white

5.52
#8D4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8D4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EAA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EAA#FFFFFF#000000##FFFFFF
##8D4EAA1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#4C6AA8
Tritanopia (blue-blind)
#8B5D74
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d4eaa;
/* rgb */ color: rgb(141, 78, 170);
/* oklch */ color: oklch(53.7% 0.151 314.0);
Tailwind
colors: {
  custom: {
    50: '#b082c4',
    500: '#8d4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #8d4eaa;
$custom-light: #b082c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4eaa",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 281.087,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53722,
    "c": 0.15113,
    "h": 314
  },
  "luminance": 0.14014
}

Semantic roles & 50–950 ramp

primary
#8D4EAA
secondary
#A2C094
accent
#CD5B7F
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B12
muted
#807C81

Preview Lab

Preview with #8D4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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