#8D5C8A#8D5C8A

#8D5C8A is a mid, moderate purple. Relative luminance 0.152; OKLCH L 54.4% C 0.091 H 328.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8D5C8A
RGBrgb(141, 92, 138)
HSLhsl(304, 21%, 46%)
HSVhsv(304, 35%, 55%)
CMYKcmyk(0%, 34.8%, 2.1%, 44.7%)
CIE-LABlab(45.84, 27.82, -17.36)
CIE-LCHlch(45.84, 32.79, 328.03°)
OKLaboklab(54.42% 0.0778 -0.047)
OKLCHoklch(54.42% 0.091 328.9)
XYZxyz(19.3988, 15.1528, 25.9428)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5C8A #5C8D5F
analogous
#775C8D #8D5C8A #8D5C71
triadic
#8D5C8A #8A8D5C #5C8A8D
tetradic
#8D5C8A #8D775C #5C8D5F #5C718D
square
#8D5C8A #8D775C #5C8D5F #5C718D
split-complementary
#8D5C8A #718D5C #5C8D77
monochromatic
#432C42 #684466 #8D5C8A #AA7CA7 #C2A1C0

Accessibility & contrast

On white

5.21
#8D5C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8D5C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5C8A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5C8A#FFFFFF#000000##FFFFFF
##8D5C8A1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A698C
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#90606D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d5c8a;
/* rgb */ color: rgb(141, 92, 138);
/* oklch */ color: oklch(54.4% 0.091 328.9);
Tailwind
colors: {
  custom: {
    50: '#af8bac',
    500: '#8d5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d5c8a;
$custom-light: #af8bac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5c8a",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 303.673,
    "s": 21.03,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54421,
    "c": 0.0909,
    "h": 328.9
  },
  "luminance": 0.15152
}

Semantic roles & 50–950 ramp

primary
#8D5C8A
secondary
#95B096
accent
#BE6F6A
background
#FAF8FA
surface
#F5F0F4
border
#CFCBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8D5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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