#984EA3#984EA3

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

Color values

HEX#984EA3
RGBrgb(152, 78, 163)
HSLhsl(292, 35%, 47%)
HSVhsv(292, 52%, 64%)
CMYKcmyk(6.7%, 52.1%, 0%, 36.1%)
CIE-LABlab(45.32, 44.01, -32.99)
CIE-LCHlch(45.32, 55.00, 323.15°)
OKLaboklab(54.69% 0.118 -0.0912)
OKLCHoklch(54.69% 0.149 322.3)
XYZxyz(22.2834, 14.7695, 36.3203)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EA3 #59A34E
analogous
#6D4EA3 #984EA3 #A34E84
triadic
#984EA3 #A3984E #4EA398
tetradic
#984EA3 #A36D4E #59A34E #4E84A3
square
#984EA3 #A36D4E #59A34E #4E84A3
split-complementary
#984EA3 #84A34E #4EA36D
monochromatic
#4B2650 #713A7A #984EA3 #B272BC #C99CD0

Accessibility & contrast

On white

5.31
#984EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#984EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984EA3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EA3#FFFFFF#000000##FFFFFF
##984EA31.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4166A6
Deuteranopia (green-blind)
#586EA1
Tritanopia (blue-blind)
#9A5971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #984ea3;
/* rgb */ color: rgb(152, 78, 163);
/* oklch */ color: oklch(54.7% 0.149 322.3);
Tailwind
colors: {
  custom: {
    50: '#b883be',
    500: '#984ea3',
    950: '#000000',
  },
}
SCSS
$custom: #984ea3;
$custom-light: #b883be;
$custom-dark: #000000;
JSON
{
  "hex": "#984ea3",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 292.235,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54693,
    "c": 0.14912,
    "h": 322.3
  },
  "luminance": 0.14769
}

Semantic roles & 50–950 ramp

primary
#984EA3
secondary
#96BC91
accent
#CB5C6B
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #984EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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