#984EAB#984EAB

#984EAB is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.1% C 0.157 H 319.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#984EAB
RGBrgb(152, 78, 171)
HSLhsl(288, 37%, 49%)
HSVhsv(288, 54%, 67%)
CMYKcmyk(11.1%, 54.4%, 0%, 32.9%)
CIE-LABlab(45.72, 45.63, -37.08)
CIE-LCHlch(45.72, 58.80, 320.91°)
OKLaboklab(55.13% 0.1189 -0.103)
OKLCHoklch(55.13% 0.157 319.1)
XYZxyz(23.0230, 15.0654, 40.2153)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EAB #61AB4E
analogous
#6A4EAB #984EAB #AB4E90
triadic
#984EAB #AB984E #4EAB98
tetradic
#984EAB #AB6A4E #61AB4E #4E90AB
square
#984EAB #AB6A4E #61AB4E #4E90AB
split-complementary
#984EAB #90AB4E #4EAB6A
monochromatic
#4D2857 #733B81 #984EAB #B176C0 #C9A0D4

Accessibility & contrast

On white

5.23
#984EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#984EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984EAB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EAB#FFFFFF#000000##FFFFFF
##984EAB1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AE
Deuteranopia (green-blind)
#546FA8
Tritanopia (blue-blind)
#985C75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #984eab;
/* rgb */ color: rgb(152, 78, 171);
/* oklch */ color: oklch(55.1% 0.157 319.1);
Tailwind
colors: {
  custom: {
    50: '#b883c4',
    500: '#984eab',
    950: '#000000',
  },
}
SCSS
$custom: #984eab;
$custom-light: #b883c4;
$custom-dark: #000000;
JSON
{
  "hex": "#984eab",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 287.742,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55125,
    "c": 0.15732,
    "h": 319.1
  },
  "luminance": 0.15064
}

Semantic roles & 50–950 ramp

primary
#984EAB
secondary
#9DC194
accent
#CD5A72
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #984EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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