#984FA6#984FA6

#984FA6 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.0% C 0.151 H 321.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#984FA6
RGBrgb(152, 79, 166)
HSLhsl(290, 36%, 48%)
HSVhsv(290, 52%, 65%)
CMYKcmyk(8.4%, 52.4%, 0%, 34.9%)
CIE-LABlab(45.66, 44.09, -34.22)
CIE-LCHlch(45.66, 55.81, 322.19°)
OKLaboklab(55% 0.117 -0.0948)
OKLCHoklch(55% 0.151 321)
XYZxyz(22.6270, 15.0215, 37.7766)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FA6 #5DA64F
analogous
#6C4FA6 #984FA6 #A64F88
triadic
#984FA6 #A6984F #4FA698
tetradic
#984FA6 #A66C4F #5DA64F #4F88A6
square
#984FA6 #A66C4F #5DA64F #4F88A6
split-complementary
#984FA6 #88A64F #4FA66C
monochromatic
#4C2853 #723B7D #984FA6 #B275BD #C99ED1

Accessibility & contrast

On white

5.24
#984FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#984FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FA6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FA6#FFFFFF#000000##FFFFFF
##984FA61.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4067A9
Deuteranopia (green-blind)
#576FA4
Tritanopia (blue-blind)
#995B73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #984fa6;
/* rgb */ color: rgb(152, 79, 166);
/* oklch */ color: oklch(55.0% 0.151 321.0);
Tailwind
colors: {
  custom: {
    50: '#b883c1',
    500: '#984fa6',
    950: '#000000',
  },
}
SCSS
$custom: #984fa6;
$custom-light: #b883c1;
$custom-dark: #000000;
JSON
{
  "hex": "#984fa6",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 290.345,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54998,
    "c": 0.15052,
    "h": 321
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#984FA6
secondary
#9ABE93
accent
#CC5C6E
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #984FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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