#984FA2#984FA2

#984FA2 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 54.8% C 0.146 H 322.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#984FA2
RGBrgb(152, 79, 162)
HSLhsl(293, 34%, 47%)
HSVhsv(293, 51%, 64%)
CMYKcmyk(6.2%, 51.2%, 0%, 36.5%)
CIE-LABlab(45.47, 43.29, -32.16)
CIE-LCHlch(45.47, 53.93, 323.39°)
OKLaboklab(54.79% 0.1164 -0.0888)
OKLCHoklch(54.79% 0.146 322.7)
XYZxyz(22.2658, 14.8770, 35.8741)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FA2 #59A24F
analogous
#6F4FA2 #984FA2 #A24F83
triadic
#984FA2 #A2984F #4FA298
tetradic
#984FA2 #A26F4F #59A24F #4F83A2
square
#984FA2 #A26F4F #59A24F #4F83A2
split-complementary
#984FA2 #83A24F #4FA26F
monochromatic
#4B2750 #713B79 #984FA2 #B273BB #C99CCF

Accessibility & contrast

On white

5.28
#984FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#984FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FA2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FA2#FFFFFF#000000##FFFFFF
##984FA21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#596FA0
Tritanopia (blue-blind)
#9A5A71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #984fa2;
/* rgb */ color: rgb(152, 79, 162);
/* oklch */ color: oklch(54.8% 0.146 322.7);
Tailwind
colors: {
  custom: {
    50: '#b883be',
    500: '#984fa2',
    950: '#000000',
  },
}
SCSS
$custom: #984fa2;
$custom-light: #b883be;
$custom-dark: #000000;
JSON
{
  "hex": "#984fa2",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 292.771,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54787,
    "c": 0.14643,
    "h": 322.7
  },
  "luminance": 0.14876
}

Semantic roles & 50–950 ramp

primary
#984FA2
secondary
#96BC91
accent
#CB5D6A
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #984FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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