#8D4899#8D4899

#8D4899 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 51.9% C 0.143 H 321.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8D4899
RGBrgb(141, 72, 153)
HSLhsl(291, 36%, 44%)
HSVhsv(291, 53%, 60%)
CMYKcmyk(7.8%, 52.9%, 0%, 40%)
CIE-LABlab(42.15, 41.96, -32.10)
CIE-LCHlch(42.15, 52.83, 322.59°)
OKLaboklab(51.88% 0.1118 -0.0888)
OKLCHoklch(51.88% 0.143 321.5)
XYZxyz(19.0510, 12.5982, 31.5590)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4899 #549948
analogous
#654899 #8D4899 #99487D
triadic
#8D4899 #998D48 #48998D
tetradic
#8D4899 #996548 #549948 #487D99
square
#8D4899 #996548 #549948 #487D99
split-complementary
#8D4899 #7D9948 #489965
monochromatic
#402146 #67346F #8D4899 #AB67B7 #C290CB

Accessibility & contrast

On white

5.97
#8D4899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8D4899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4899
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4899#FFFFFF#000000##FFFFFF
##8D48991.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9C
Deuteranopia (green-blind)
#506697
Tritanopia (blue-blind)
#8E536A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d4899;
/* rgb */ color: rgb(141, 72, 153);
/* oklch */ color: oklch(51.9% 0.143 321.5);
Tailwind
colors: {
  custom: {
    50: '#b07eb7',
    500: '#8d4899',
    950: '#000000',
  },
}
SCSS
$custom: #8d4899;
$custom-light: #b07eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4899",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 291.111,
    "s": 36,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51882,
    "c": 0.14278,
    "h": 321.5
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#8D4899
secondary
#8DB786
accent
#CC5C6C
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8D4899

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

Preview Lab → · Contrast checker → · Palette generator →

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