#8D4E8A#8D4E8A

#8D4E8A is a mid, moderate purple. Relative luminance 0.129; OKLCH L 52.0% C 0.117 H 328.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8D4E8A
RGBrgb(141, 78, 138)
HSLhsl(303, 29%, 43%)
HSVhsv(303, 45%, 55%)
CMYKcmyk(0%, 44.7%, 2.1%, 44.7%)
CIE-LABlab(42.68, 35.75, -22.22)
CIE-LCHlch(42.68, 42.09, 328.14°)
OKLaboklab(52.04% 0.1002 -0.0606)
OKLCHoklch(52.04% 0.117 328.8)
XYZxyz(18.2961, 12.9474, 25.5752)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4E8A #4E8D51
analogous
#704E8D #8D4E8A #8D4E6A
triadic
#8D4E8A #8A8D4E #4E8A8D
tetradic
#8D4E8A #8D704E #4E8D51 #4E6A8D
square
#8D4E8A #8D704E #4E8D51 #4E6A8D
split-complementary
#8D4E8A #6A8D4E #4E8D70
monochromatic
#3E223D #663863 #8D4E8A #AD6BAA #C392C1

Accessibility & contrast

On white

5.85
#8D4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8D4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4E8A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4E8A#FFFFFF#000000##FFFFFF
##8D4E8A1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8C
Deuteranopia (green-blind)
#5B6888
Tritanopia (blue-blind)
#915365
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d4e8a;
/* rgb */ color: rgb(141, 78, 138);
/* oklch */ color: oklch(52.0% 0.117 328.8);
Tailwind
colors: {
  custom: {
    50: '#b081ac',
    500: '#8d4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d4e8a;
$custom-light: #b081ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4e8a",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 302.857,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52045,
    "c": 0.11706,
    "h": 328.8
  },
  "luminance": 0.12946
}

Semantic roles & 50–950 ramp

primary
#8D4E8A
secondary
#87AF89
accent
#C56763
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #8D4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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