#984E8B#984E8B

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

Color values

HEX#984E8B
RGBrgb(152, 78, 139)
HSLhsl(311, 32%, 45%)
HSVhsv(311, 49%, 60%)
CMYKcmyk(0%, 48.7%, 8.6%, 40.4%)
CIE-LABlab(44.22, 39.48, -20.34)
CIE-LCHlch(44.22, 44.41, 332.75°)
OKLaboklab(53.52% 0.1136 -0.055)
OKLCHoklch(53.52% 0.126 334.1)
XYZxyz(20.3335, 13.9895, 26.0504)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E8B #4E985B
analogous
#804E98 #984E8B #984E66
triadic
#984E8B #8B984E #4E8B98
tetradic
#984E8B #98804E #4E985B #4E6698
square
#984E8B #98804E #4E985B #4E6698
split-complementary
#984E8B #66984E #4E9880
monochromatic
#472441 #703966 #984E8B #B56EA8 #CA97C1

Accessibility & contrast

On white

5.53
#984E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#984E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984E8B
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984E8B#FFFFFF#000000##FFFFFF
##984E8B1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D628D
Deuteranopia (green-blind)
#626C89
Tritanopia (blue-blind)
#9E5266
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #984e8b;
/* rgb */ color: rgb(152, 78, 139);
/* oklch */ color: oklch(53.5% 0.126 334.1);
Tailwind
colors: {
  custom: {
    50: '#b882ad',
    500: '#984e8b',
    950: '#000000',
  },
}
SCSS
$custom: #984e8b;
$custom-light: #b882ad;
$custom-dark: #000000;
JSON
{
  "hex": "#984e8b",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 310.541,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53519,
    "c": 0.12624,
    "h": 334.1
  },
  "luminance": 0.13988
}

Semantic roles & 50–950 ramp

primary
#984E8B
secondary
#8CB693
accent
#C8725F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #984E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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