#984FA4#984FA4

#984FA4 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 54.9% C 0.148 H 321.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#984FA4
RGBrgb(152, 79, 164)
HSLhsl(292, 35%, 48%)
HSVhsv(292, 52%, 64%)
CMYKcmyk(7.3%, 51.8%, 0%, 35.7%)
CIE-LABlab(45.56, 43.69, -33.19)
CIE-LCHlch(45.56, 54.87, 322.78°)
OKLaboklab(54.89% 0.1167 -0.0918)
OKLCHoklch(54.89% 0.148 321.8)
XYZxyz(22.4450, 14.9487, 36.8179)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FA4 #5BA44F
analogous
#6D4FA4 #984FA4 #A44F86
triadic
#984FA4 #A4984F #4FA498
tetradic
#984FA4 #A46D4F #5BA44F #4F86A4
square
#984FA4 #A46D4F #5BA44F #4F86A4
split-complementary
#984FA4 #86A44F #4FA46D
monochromatic
#4B2751 #723B7B #984FA4 #B274BC #C99DD0

Accessibility & contrast

On white

5.26
#984FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#984FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FA4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FA4#FFFFFF#000000##FFFFFF
##984FA41.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4267A7
Deuteranopia (green-blind)
#586FA2
Tritanopia (blue-blind)
#9A5A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #984fa4;
/* rgb */ color: rgb(152, 79, 164);
/* oklch */ color: oklch(54.9% 0.148 321.8);
Tailwind
colors: {
  custom: {
    50: '#b883bf',
    500: '#984fa4',
    950: '#000000',
  },
}
SCSS
$custom: #984fa4;
$custom-light: #b883bf;
$custom-dark: #000000;
JSON
{
  "hex": "#984fa4",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 291.529,
    "s": 34.979,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54892,
    "c": 0.14847,
    "h": 321.8
  },
  "luminance": 0.14948
}

Semantic roles & 50–950 ramp

primary
#984FA4
secondary
#98BD92
accent
#CB5D6C
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #984FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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