#8D4E8D#8D4E8D

#8D4E8D is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.2% C 0.120 H 327.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8D4E8D
RGBrgb(141, 78, 141)
HSLhsl(300, 29%, 43%)
HSVhsv(300, 45%, 55%)
CMYKcmyk(0%, 44.7%, 0%, 44.7%)
CIE-LABlab(42.82, 36.33, -23.83)
CIE-LCHlch(42.82, 43.45, 326.74°)
OKLaboklab(52.19% 0.1008 -0.0652)
OKLCHoklch(52.19% 0.12 327.1)
XYZxyz(18.5163, 13.0355, 26.7349)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4E8D #4E8D4E
analogous
#6D4E8D #8D4E8D #8D4E6D
triadic
#8D4E8D #8D8D4E #4E8D8D
tetradic
#8D4E8D #8D6D4E #4E8D4E #4E6D8D
square
#8D4E8D #8D6D4E #4E8D4E #4E6D8D
split-complementary
#8D4E8D #6D8D4E #4E8D6D
monochromatic
#3E223E #663866 #8D4E8D #AD6BAD #C392C3

Accessibility & contrast

On white

5.82
#8D4E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8D4E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4E8D
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4E8D#FFFFFF#000000##FFFFFF
##8D4E8D1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49608F
Deuteranopia (green-blind)
#5A688B
Tritanopia (blue-blind)
#905467
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d4e8d;
/* rgb */ color: rgb(141, 78, 141);
/* oklch */ color: oklch(52.2% 0.120 327.1);
Tailwind
colors: {
  custom: {
    50: '#b081ae',
    500: '#8d4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #8d4e8d;
$custom-light: #b081ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4e8d",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52188,
    "c": 0.12004,
    "h": 327.1
  },
  "luminance": 0.13035
}

Semantic roles & 50–950 ramp

primary
#8D4E8D
secondary
#87AF87
accent
#C56363
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #8D4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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