#8D5F99#8D5F99

#8D5F99 is a mid, moderate purple. Relative luminance 0.161; OKLCH L 55.6% C 0.102 H 319.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8D5F99
RGBrgb(141, 95, 153)
HSLhsl(288, 23%, 49%)
HSVhsv(288, 38%, 60%)
CMYKcmyk(7.8%, 37.9%, 0%, 40%)
CIE-LABlab(47.17, 29.16, -24.27)
CIE-LCHlch(47.17, 37.94, 320.23°)
OKLaboklab(55.63% 0.077 -0.0665)
OKLCHoklch(55.63% 0.102 319.2)
XYZxyz(20.8257, 16.1476, 32.1506)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5F99 #6B995F
analogous
#705F99 #8D5F99 #995F88
triadic
#8D5F99 #998D5F #5F998D
tetradic
#8D5F99 #99705F #6B995F #5F8899
square
#8D5F99 #99705F #6B995F #5F8899
split-complementary
#8D5F99 #88995F #5F9970
monochromatic
#47304D #6A4873 #8D5F99 #A883B2 #C3A9CA

Accessibility & contrast

On white

4.97
#8D5F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8D5F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5F99
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5F99#FFFFFF#000000##FFFFFF
##8D5F991.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576D9B
Deuteranopia (green-blind)
#637197
Tritanopia (blue-blind)
#8E6675
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d5f99;
/* rgb */ color: rgb(141, 95, 153);
/* oklch */ color: oklch(55.6% 0.102 319.2);
Tailwind
colors: {
  custom: {
    50: '#af8db7',
    500: '#8d5f99',
    950: '#000000',
  },
}
SCSS
$custom: #8d5f99;
$custom-light: #af8db7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5f99",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 153
  },
  "hsl": {
    "h": 287.586,
    "s": 23.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55626,
    "c": 0.10177,
    "h": 319.2
  },
  "luminance": 0.16147
}

Semantic roles & 50–950 ramp

primary
#8D5F99
secondary
#A2B89C
accent
#C0687A
background
#FAF8FB
surface
#F5F0F6
border
#CFCBD0
text
#100C11
muted
#7F7D80

Preview Lab

Preview with #8D5F99

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

Preview Lab → · Contrast checker → · Palette generator →

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