#8D538D#8D538D

#8D538D is a mid, moderate purple. Relative luminance 0.138; OKLCH L 53.0% C 0.111 H 327.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8D538D
RGBrgb(141, 83, 141)
HSLhsl(300, 26%, 44%)
HSVhsv(300, 41%, 55%)
CMYKcmyk(0%, 41.1%, 0%, 44.7%)
CIE-LABlab(43.91, 33.55, -22.14)
CIE-LCHlch(43.91, 40.20, 326.57°)
OKLaboklab(53% 0.093 -0.0604)
OKLCHoklch(53% 0.111 327)
XYZxyz(18.8851, 13.7732, 26.8579)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D538D #538D53
analogous
#70538D #8D538D #8D5370
triadic
#8D538D #8D8D53 #538D8D
tetradic
#8D538D #8D7053 #538D53 #53708D
square
#8D538D #8D7053 #538D53 #53708D
split-complementary
#8D538D #708D53 #538D70
monochromatic
#402640 #663C66 #8D538D #AC71AC #C298C2

Accessibility & contrast

On white

5.59
#8D538D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8D538D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D538D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D538D#FFFFFF#000000##FFFFFF
##8D538D1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E638F
Deuteranopia (green-blind)
#5E6A8B
Tritanopia (blue-blind)
#905969
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d538d;
/* rgb */ color: rgb(141, 83, 141);
/* oklch */ color: oklch(53.0% 0.111 327.0);
Tailwind
colors: {
  custom: {
    50: '#af85ae',
    500: '#8d538d',
    950: '#000000',
  },
}
SCSS
$custom: #8d538d;
$custom-light: #af85ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d538d",
  "rgb": {
    "r": 141,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 25.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53002,
    "c": 0.1109,
    "h": 327
  },
  "luminance": 0.13772
}

Semantic roles & 50–950 ramp

primary
#8D538D
secondary
#8CB08C
accent
#C26666
background
#FAF8FA
surface
#F5EFF4
border
#CFCACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #8D538D

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

Preview Lab → · Contrast checker → · Palette generator →

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