#984EAA#984EAA

#984EAA is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.1% C 0.156 H 319.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#984EAA
RGBrgb(152, 78, 170)
HSLhsl(288, 37%, 49%)
HSVhsv(288, 54%, 67%)
CMYKcmyk(10.6%, 54.1%, 0%, 33.3%)
CIE-LABlab(45.67, 45.43, -36.57)
CIE-LCHlch(45.67, 58.32, 321.17°)
OKLaboklab(55.07% 0.1188 -0.1016)
OKLCHoklch(55.07% 0.156 319.5)
XYZxyz(22.9281, 15.0274, 39.7152)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EAA #60AA4E
analogous
#6A4EAA #984EAA #AA4E8E
triadic
#984EAA #AA984E #4EAA98
tetradic
#984EAA #AA6A4E #60AA4E #4E8EAA
square
#984EAA #AA6A4E #60AA4E #4E8EAA
split-complementary
#984EAA #8EAA4E #4EAA6A
monochromatic
#4D2856 #723B80 #984EAA #B175C0 #C99FD3

Accessibility & contrast

On white

5.24
#984EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #984EAA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EAA#FFFFFF#000000##FFFFFF
##984EAA1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AD
Deuteranopia (green-blind)
#546FA8
Tritanopia (blue-blind)
#995B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #984eaa;
/* rgb */ color: rgb(152, 78, 170);
/* oklch */ color: oklch(55.1% 0.156 319.5);
Tailwind
colors: {
  custom: {
    50: '#b883c3',
    500: '#984eaa',
    950: '#000000',
  },
}
SCSS
$custom: #984eaa;
$custom-light: #b883c3;
$custom-dark: #000000;
JSON
{
  "hex": "#984eaa",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 288.261,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5507,
    "c": 0.15629,
    "h": 319.5
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

primary
#984EAA
secondary
#9CC094
accent
#CD5B71
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #984EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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