#984EAC#984EAC

#984EAC is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.2% C 0.158 H 318.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#984EAC
RGBrgb(152, 78, 172)
HSLhsl(287, 38%, 49%)
HSVhsv(287, 55%, 67%)
CMYKcmyk(11.6%, 54.7%, 0%, 32.5%)
CIE-LABlab(45.78, 45.84, -37.58)
CIE-LCHlch(45.78, 59.28, 320.65°)
OKLaboklab(55.18% 0.119 -0.1045)
OKLCHoklch(55.18% 0.158 318.7)
XYZxyz(23.1187, 15.1036, 40.7192)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EAC #62AC4E
analogous
#694EAC #984EAC #AC4E91
triadic
#984EAC #AC984E #4EAC98
tetradic
#984EAC #AC694E #62AC4E #4E91AC
square
#984EAC #AC694E #62AC4E #4E91AC
split-complementary
#984EAC #91AC4E #4EAC69
monochromatic
#4E2858 #733B82 #984EAC #B176C1 #C9A0D4

Accessibility & contrast

On white

5.22
#984EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#984EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984EAC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EAC#FFFFFF#000000##FFFFFF
##984EAC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AF
Deuteranopia (green-blind)
#536FA9
Tritanopia (blue-blind)
#985C76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #984eac;
/* rgb */ color: rgb(152, 78, 172);
/* oklch */ color: oklch(55.2% 0.158 318.7);
Tailwind
colors: {
  custom: {
    50: '#b883c5',
    500: '#984eac',
    950: '#000000',
  },
}
SCSS
$custom: #984eac;
$custom-light: #b883c5;
$custom-dark: #000000;
JSON
{
  "hex": "#984eac",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 287.234,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55181,
    "c": 0.15836,
    "h": 318.7
  },
  "luminance": 0.15103
}

Semantic roles & 50–950 ramp

primary
#984EAC
secondary
#9EC195
accent
#CE5A73
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #984EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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