#984E8A#984E8A

#984E8A is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.5% C 0.125 H 334.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#984E8A
RGBrgb(152, 78, 138)
HSLhsl(311, 32%, 45%)
HSVhsv(311, 49%, 60%)
CMYKcmyk(0%, 48.7%, 9.2%, 40.4%)
CIE-LABlab(44.18, 39.30, -19.80)
CIE-LCHlch(44.18, 44.01, 333.27°)
OKLaboklab(53.47% 0.1134 -0.0535)
OKLCHoklch(53.47% 0.125 334.7)
XYZxyz(20.2607, 13.9604, 25.6673)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E8A #4E985C
analogous
#814E98 #984E8A #984E65
triadic
#984E8A #8A984E #4E8A98
tetradic
#984E8A #98814E #4E985C #4E6598
square
#984E8A #98814E #4E985C #4E6598
split-complementary
#984E8A #65984E #4E9881
monochromatic
#472441 #703965 #984E8A #B56EA7 #CA97C0

Accessibility & contrast

On white

5.54
#984E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#984E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984E8A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984E8A#FFFFFF#000000##FFFFFF
##984E8A1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E628C
Deuteranopia (green-blind)
#626C88
Tritanopia (blue-blind)
#9E5265
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #984e8a;
/* rgb */ color: rgb(152, 78, 138);
/* oklch */ color: oklch(53.5% 0.125 334.7);
Tailwind
colors: {
  custom: {
    50: '#b882ac',
    500: '#984e8a',
    950: '#000000',
  },
}
SCSS
$custom: #984e8a;
$custom-light: #b882ac;
$custom-dark: #000000;
JSON
{
  "hex": "#984e8a",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 311.351,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53474,
    "c": 0.12537,
    "h": 334.7
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#984E8A
secondary
#8CB694
accent
#C8735F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #984E8A

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

Preview Lab → · Contrast checker → · Palette generator →

#984E8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva