#984FA3#984FA3

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

Color values

HEX#984FA3
RGBrgb(152, 79, 163)
HSLhsl(292, 35%, 47%)
HSVhsv(292, 52%, 64%)
CMYKcmyk(6.7%, 51.5%, 0%, 36.1%)
CIE-LABlab(45.51, 43.49, -32.68)
CIE-LCHlch(45.51, 54.40, 323.08°)
OKLaboklab(54.84% 0.1166 -0.0903)
OKLCHoklch(54.84% 0.147 322.2)
XYZxyz(22.3550, 14.9127, 36.3441)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FA3 #5AA34F
analogous
#6E4FA3 #984FA3 #A34F84
triadic
#984FA3 #A3984F #4FA398
tetradic
#984FA3 #A36E4F #5AA34F #4F84A3
square
#984FA3 #A36E4F #5AA34F #4F84A3
split-complementary
#984FA3 #84A34F #4FA36E
monochromatic
#4B2751 #723B7A #984FA3 #B274BB #C99DCF

Accessibility & contrast

On white

5.27
#984FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #984FA3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FA3#FFFFFF#000000##FFFFFF
##984FA31.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4266A6
Deuteranopia (green-blind)
#596FA1
Tritanopia (blue-blind)
#9A5A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #984fa3;
/* rgb */ color: rgb(152, 79, 163);
/* oklch */ color: oklch(54.8% 0.147 322.2);
Tailwind
colors: {
  custom: {
    50: '#b883be',
    500: '#984fa3',
    950: '#000000',
  },
}
SCSS
$custom: #984fa3;
$custom-light: #b883be;
$custom-dark: #000000;
JSON
{
  "hex": "#984fa3",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 292.143,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54839,
    "c": 0.14745,
    "h": 322.2
  },
  "luminance": 0.14912
}

Semantic roles & 50–950 ramp

primary
#984FA3
secondary
#97BC91
accent
#CB5D6B
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #984FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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