#8D5B99#8D5B99

#8D5B99 is a mid, moderate purple. Relative luminance 0.154; OKLCH L 54.9% C 0.109 H 319.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8D5B99
RGBrgb(141, 91, 153)
HSLhsl(288, 25%, 48%)
HSVhsv(288, 41%, 60%)
CMYKcmyk(7.8%, 40.5%, 0%, 40%)
CIE-LABlab(46.24, 31.46, -25.71)
CIE-LCHlch(46.24, 40.63, 320.74°)
OKLaboklab(54.93% 0.0832 -0.0706)
OKLCHoklch(54.93% 0.109 319.7)
XYZxyz(20.4746, 15.4454, 32.0335)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5B99 #67995B
analogous
#6E5B99 #8D5B99 #995B86
triadic
#8D5B99 #998D5B #5B998D
tetradic
#8D5B99 #996E5B #67995B #5B8699
square
#8D5B99 #996E5B #67995B #5B8699
split-complementary
#8D5B99 #86995B #5B996E
monochromatic
#462D4C #6A4473 #8D5B99 #A97FB3 #C2A5C9

Accessibility & contrast

On white

5.14
#8D5B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8D5B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5B99
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5B99#FFFFFF#000000##FFFFFF
##8D5B991.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526A9B
Deuteranopia (green-blind)
#5F6F97
Tritanopia (blue-blind)
#8E6373
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d5b99;
/* rgb */ color: rgb(141, 91, 153);
/* oklch */ color: oklch(54.9% 0.109 319.7);
Tailwind
colors: {
  custom: {
    50: '#af8ab7',
    500: '#8d5b99',
    950: '#000000',
  },
}
SCSS
$custom: #8d5b99;
$custom-light: #af8ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5b99",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 153
  },
  "hsl": {
    "h": 288.387,
    "s": 25.41,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54926,
    "c": 0.10917,
    "h": 319.7
  },
  "luminance": 0.15445
}

Semantic roles & 50–950 ramp

primary
#8D5B99
secondary
#9EB798
accent
#C26678
background
#FAF8FB
surface
#F5F0F6
border
#CFCBD0
text
#100C11
muted
#7F7D80

Preview Lab

Preview with #8D5B99

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

Preview Lab → · Contrast checker → · Palette generator →

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