#8D4898#8D4898

#8D4898 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 51.8% C 0.142 H 322.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8D4898
RGBrgb(141, 72, 152)
HSLhsl(292, 36%, 44%)
HSVhsv(292, 53%, 60%)
CMYKcmyk(7.2%, 52.6%, 0%, 40.4%)
CIE-LABlab(42.10, 41.76, -31.58)
CIE-LCHlch(42.10, 52.35, 322.91°)
OKLaboklab(51.83% 0.1116 -0.0873)
OKLCHoklch(51.83% 0.142 322)
XYZxyz(18.9688, 12.5653, 31.1258)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4898 #539848
analogous
#654898 #8D4898 #98487B
triadic
#8D4898 #988D48 #48988D
tetradic
#8D4898 #986548 #539848 #487B98
square
#8D4898 #986548 #539848 #487B98
split-complementary
#8D4898 #7B9848 #489865
monochromatic
#402145 #66346E #8D4898 #AC66B7 #C290CA

Accessibility & contrast

On white

5.98
#8D4898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8D4898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4898
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4898#FFFFFF#000000##FFFFFF
##8D48981.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9B
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#8F5369
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d4898;
/* rgb */ color: rgb(141, 72, 152);
/* oklch */ color: oklch(51.8% 0.142 322.0);
Tailwind
colors: {
  custom: {
    50: '#b07eb6',
    500: '#8d4898',
    950: '#000000',
  },
}
SCSS
$custom: #8d4898;
$custom-light: #b07eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4898",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 291.75,
    "s": 35.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51828,
    "c": 0.14175,
    "h": 322
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#8D4898
secondary
#8CB686
accent
#CC5C6B
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8D4898

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

Preview Lab → · Contrast checker → · Palette generator →

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