#984BA2#984BA2

#984BA2 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.2% C 0.153 H 322.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#984BA2
RGBrgb(152, 75, 162)
HSLhsl(293, 37%, 46%)
HSVhsv(293, 54%, 64%)
CMYKcmyk(6.2%, 53.7%, 0%, 36.5%)
CIE-LABlab(44.68, 45.36, -33.39)
CIE-LCHlch(44.68, 56.32, 323.64°)
OKLaboklab(54.21% 0.1221 -0.0923)
OKLCHoklch(54.21% 0.153 322.9)
XYZxyz(21.9859, 14.3172, 35.7808)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BA2 #55A24B
analogous
#6D4BA2 #984BA2 #A24B81
triadic
#984BA2 #A2984B #4BA298
tetradic
#984BA2 #A26D4B #55A24B #4B81A2
square
#984BA2 #A26D4B #55A24B #4B81A2
split-complementary
#984BA2 #81A24B #4BA26D
monochromatic
#49244E #713878 #984BA2 #B36EBC #C998CF

Accessibility & contrast

On white

5.44
#984BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#984BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BA2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BA2#FFFFFF#000000##FFFFFF
##984BA21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#566DA0
Tritanopia (blue-blind)
#9A576F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #984ba2;
/* rgb */ color: rgb(152, 75, 162);
/* oklch */ color: oklch(54.2% 0.153 322.9);
Tailwind
colors: {
  custom: {
    50: '#b881be',
    500: '#984ba2',
    950: '#000000',
  },
}
SCSS
$custom: #984ba2;
$custom-light: #b881be;
$custom-dark: #000000;
JSON
{
  "hex": "#984ba2",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 293.103,
    "s": 36.709,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54211,
    "c": 0.15307,
    "h": 322.9
  },
  "luminance": 0.14316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #984BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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