#984AA2#984AA2

#984AA2 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.1% C 0.155 H 323.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#984AA2
RGBrgb(152, 74, 162)
HSLhsl(293, 37%, 46%)
HSVhsv(293, 54%, 64%)
CMYKcmyk(6.2%, 54.3%, 0%, 36.5%)
CIE-LABlab(44.49, 45.87, -33.69)
CIE-LCHlch(44.49, 56.91, 323.70°)
OKLaboklab(54.07% 0.1235 -0.0932)
OKLCHoklch(54.07% 0.155 323)
XYZxyz(21.9186, 14.1827, 35.7584)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AA2 #54A24A
analogous
#6C4AA2 #984AA2 #A24A80
triadic
#984AA2 #A2984A #4AA298
tetradic
#984AA2 #A26C4A #54A24A #4A80A2
square
#984AA2 #A26C4A #54A24A #4A80A2
split-complementary
#984AA2 #80A24A #4AA26C
monochromatic
#49244E #713778 #984AA2 #B36DBC #C997CF

Accessibility & contrast

On white

5.47
#984AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#984AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984AA2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984AA2#FFFFFF#000000##FFFFFF
##984AA21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A5
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#9A566F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #984aa2;
/* rgb */ color: rgb(152, 74, 162);
/* oklch */ color: oklch(54.1% 0.155 323.0);
Tailwind
colors: {
  custom: {
    50: '#b880be',
    500: '#984aa2',
    950: '#000000',
  },
}
SCSS
$custom: #984aa2;
$custom-light: #b880be;
$custom-dark: #000000;
JSON
{
  "hex": "#984aa2",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 293.182,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54071,
    "c": 0.15471,
    "h": 323
  },
  "luminance": 0.14182
}

Semantic roles & 50–950 ramp

primary
#984AA2
secondary
#92BC8C
accent
#CD5B68
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#120A12
muted
#817C81

Preview Lab

Preview with #984AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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