#984EA5#984EA5

#984EA5 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.8% C 0.151 H 321.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#984EA5
RGBrgb(152, 78, 165)
HSLhsl(291, 36%, 48%)
HSVhsv(291, 53%, 65%)
CMYKcmyk(7.9%, 52.7%, 0%, 35.3%)
CIE-LABlab(45.42, 44.41, -34.01)
CIE-LCHlch(45.42, 55.94, 322.55°)
OKLaboklab(54.8% 0.1182 -0.0942)
OKLCHoklch(54.8% 0.151 321.5)
XYZxyz(22.4641, 14.8418, 37.2715)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EA5 #5BA54E
analogous
#6C4EA5 #984EA5 #A54E87
triadic
#984EA5 #A5984E #4EA598
tetradic
#984EA5 #A56C4E #5BA54E #4E87A5
square
#984EA5 #A56C4E #5BA54E #4E87A5
split-complementary
#984EA5 #87A54E #4EA56C
monochromatic
#4B2752 #723A7B #984EA5 #B273BD #C99DD1

Accessibility & contrast

On white

5.29
#984EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#984EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984EA5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EA5#FFFFFF#000000##FFFFFF
##984EA51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A8
Deuteranopia (green-blind)
#576EA3
Tritanopia (blue-blind)
#9A5A72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #984ea5;
/* rgb */ color: rgb(152, 78, 165);
/* oklch */ color: oklch(54.8% 0.151 321.5);
Tailwind
colors: {
  custom: {
    50: '#b883c0',
    500: '#984ea5',
    950: '#000000',
  },
}
SCSS
$custom: #984ea5;
$custom-light: #b883c0;
$custom-dark: #000000;
JSON
{
  "hex": "#984ea5",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 291.034,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.548,
    "c": 0.15115,
    "h": 321.5
  },
  "luminance": 0.14841
}

Semantic roles & 50–950 ramp

primary
#984EA5
secondary
#98BD91
accent
#CC5C6D
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #984EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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