#984BA4#984BA4

#984BA4 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.3% C 0.155 H 322.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#984BA4
RGBrgb(152, 75, 164)
HSLhsl(292, 37%, 47%)
HSVhsv(292, 54%, 64%)
CMYKcmyk(7.3%, 54.3%, 0%, 35.7%)
CIE-LABlab(44.79, 45.75, -34.42)
CIE-LCHlch(44.79, 57.25, 323.05°)
OKLaboklab(54.32% 0.1223 -0.0953)
OKLCHoklch(54.32% 0.155 322.1)
XYZxyz(22.1651, 14.3889, 36.7246)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BA4 #57A44B
analogous
#6C4BA4 #984BA4 #A44B84
triadic
#984BA4 #A4984B #4BA498
tetradic
#984BA4 #A46C4B #57A44B #4B84A4
square
#984BA4 #A46C4B #57A44B #4B84A4
split-complementary
#984BA4 #84A44B #4BA46C
monochromatic
#4A2550 #71387A #984BA4 #B36FBD #C999D0

Accessibility & contrast

On white

5.42
#984BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#984BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BA4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BA4#FFFFFF#000000##FFFFFF
##984BA41.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A7
Deuteranopia (green-blind)
#556DA2
Tritanopia (blue-blind)
#9A5770
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #984ba4;
/* rgb */ color: rgb(152, 75, 164);
/* oklch */ color: oklch(54.3% 0.155 322.1);
Tailwind
colors: {
  custom: {
    50: '#b881bf',
    500: '#984ba4',
    950: '#000000',
  },
}
SCSS
$custom: #984ba4;
$custom-light: #b881bf;
$custom-dark: #000000;
JSON
{
  "hex": "#984ba4",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 164
  },
  "hsl": {
    "h": 291.91,
    "s": 37.238,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54319,
    "c": 0.15506,
    "h": 322.1
  },
  "luminance": 0.14388
}

Semantic roles & 50–950 ramp

primary
#984BA4
secondary
#94BD8E
accent
#CD5B6A
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#120A12
muted
#817C81

Preview Lab

Preview with #984BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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