#8D5291#8D5291

#8D5291 is a mid, moderate purple. Relative luminance 0.137; OKLCH L 53.0% C 0.117 H 324.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8D5291
RGBrgb(141, 82, 145)
HSLhsl(296, 28%, 45%)
HSVhsv(296, 43%, 57%)
CMYKcmyk(2.8%, 43.4%, 0%, 43.1%)
CIE-LABlab(43.86, 34.90, -24.62)
CIE-LCHlch(43.86, 42.71, 324.80°)
OKLaboklab(53.03% 0.0955 -0.0674)
OKLCHoklch(53.03% 0.117 324.8)
XYZxyz(19.1122, 13.7425, 28.4284)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5291 #569152
analogous
#6E5291 #8D5291 #915276
triadic
#8D5291 #918D52 #52918D
tetradic
#8D5291 #916E52 #569152 #527691
square
#8D5291 #916E52 #569152 #527691
split-complementary
#8D5291 #769152 #52916E
monochromatic
#412643 #673C6A #8D5291 #AB71AF #C298C5

Accessibility & contrast

On white

5.60
#8D5291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D5291
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5291#FFFFFF#000000##FFFFFF
##8D52911.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6393
Deuteranopia (green-blind)
#5C6A8F
Tritanopia (blue-blind)
#90596B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d5291;
/* rgb */ color: rgb(141, 82, 145);
/* oklch */ color: oklch(53.0% 0.117 324.8);
Tailwind
colors: {
  custom: {
    50: '#b084b1',
    500: '#8d5291',
    950: '#000000',
  },
}
SCSS
$custom: #8d5291;
$custom-light: #b084b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5291",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 296.19,
    "s": 27.753,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53027,
    "c": 0.11689,
    "h": 324.8
  },
  "luminance": 0.13742
}

Semantic roles & 50–950 ramp

primary
#8D5291
secondary
#8FB28D
accent
#C4646A
background
#FAF8FA
surface
#F5EFF5
border
#CFCACF
text
#110B10
muted
#807C7F

Preview Lab

Preview with #8D5291

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

Preview Lab → · Contrast checker → · Palette generator →

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