#8D5D91#8D5D91

#8D5D91 is a mid, moderate purple. Relative luminance 0.155; OKLCH L 54.9% C 0.096 H 324.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8D5D91
RGBrgb(141, 93, 145)
HSLhsl(295, 22%, 47%)
HSVhsv(295, 36%, 57%)
CMYKcmyk(2.8%, 35.9%, 0%, 43.1%)
CIE-LABlab(46.36, 28.65, -20.76)
CIE-LCHlch(46.36, 35.38, 324.07°)
OKLaboklab(54.91% 0.0781 -0.0566)
OKLCHoklch(54.91% 0.096 324.1)
XYZxyz(20.0092, 15.5365, 28.7274)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5D91 #61915D
analogous
#735D91 #8D5D91 #915D7B
triadic
#8D5D91 #918D5D #5D918D
tetradic
#8D5D91 #91735D #61915D #5D7B91
square
#8D5D91 #91735D #61915D #5D7B91
split-complementary
#8D5D91 #7B915D #5D9173
monochromatic
#442D46 #69456C #8D5D91 #A97FAD #C2A4C5

Accessibility & contrast

On white

5.11
#8D5D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8D5D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5D91
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5D91#FFFFFF#000000##FFFFFF
##8D5D911.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586A93
Deuteranopia (green-blind)
#64708F
Tritanopia (blue-blind)
#8F6270
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d5d91;
/* rgb */ color: rgb(141, 93, 145);
/* oklch */ color: oklch(54.9% 0.096 324.1);
Tailwind
colors: {
  custom: {
    50: '#af8cb1',
    500: '#8d5d91',
    950: '#000000',
  },
}
SCSS
$custom: #8d5d91;
$custom-light: #af8cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5d91",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 145
  },
  "hsl": {
    "h": 295.385,
    "s": 21.849,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.09645,
    "h": 324.1
  },
  "luminance": 0.15536
}

Semantic roles & 50–950 ramp

primary
#8D5D91
secondary
#99B397
accent
#BE6970
background
#FAF8FA
surface
#F5F0F5
border
#CFCBCF
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8D5D91

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

Preview Lab → · Contrast checker → · Palette generator →

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