#8D5C8D#8D5C8D

#8D5C8D is a mid, moderate purple. Relative luminance 0.152; OKLCH L 54.6% C 0.094 H 326.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8D5C8D
RGBrgb(141, 92, 141)
HSLhsl(300, 21%, 46%)
HSVhsv(300, 35%, 55%)
CMYKcmyk(0%, 34.8%, 0%, 44.7%)
CIE-LABlab(45.96, 28.42, -18.98)
CIE-LCHlch(45.96, 34.17, 326.26°)
OKLaboklab(54.55% 0.0787 -0.0515)
OKLCHoklch(54.55% 0.094 326.8)
XYZxyz(19.6190, 15.2409, 27.1025)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5C8D #5C8D5C
analogous
#745C8D #8D5C8D #8D5C74
triadic
#8D5C8D #8D8D5C #5C8D8D
tetradic
#8D5C8D #8D745C #5C8D5C #5C748D
square
#8D5C8D #8D745C #5C8D5C #5C748D
split-complementary
#8D5C8D #748D5C #5C8D74
monochromatic
#432C43 #684468 #8D5C8D #AA7CAA #C2A1C2

Accessibility & contrast

On white

5.19
#8D5C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8D5C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5C8D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5C8D#FFFFFF#000000##FFFFFF
##8D5C8D1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58698F
Deuteranopia (green-blind)
#656F8B
Tritanopia (blue-blind)
#90606E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d5c8d;
/* rgb */ color: rgb(141, 92, 141);
/* oklch */ color: oklch(54.6% 0.094 326.8);
Tailwind
colors: {
  custom: {
    50: '#af8bae',
    500: '#8d5c8d',
    950: '#000000',
  },
}
SCSS
$custom: #8d5c8d;
$custom-light: #af8bae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5c8d",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 21.03,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54551,
    "c": 0.09403,
    "h": 326.8
  },
  "luminance": 0.1524
}

Semantic roles & 50–950 ramp

primary
#8D5C8D
secondary
#95B095
accent
#BE6A6A
background
#FAF8FA
surface
#F5F0F4
border
#CFCBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8D5C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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