#984AAA#984AAA

#984AAA is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.5% C 0.163 H 319.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#984AAA
RGBrgb(152, 74, 170)
HSLhsl(289, 39%, 48%)
HSVhsv(289, 56%, 67%)
CMYKcmyk(10.6%, 56.5%, 0%, 33.3%)
CIE-LABlab(44.91, 47.47, -37.77)
CIE-LCHlch(44.91, 60.66, 321.49°)
OKLaboklab(54.51% 0.1243 -0.105)
OKLCHoklch(54.51% 0.163 319.8)
XYZxyz(22.6525, 14.4762, 39.6234)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AAA #5CAA4A
analogous
#684AAA #984AAA #AA4A8C
triadic
#984AAA #AA984A #4AAA98
tetradic
#984AAA #AA684A #5CAA4A #4A8CAA
square
#984AAA #AA684A #5CAA4A #4A8CAA
split-complementary
#984AAA #8CAA4A #4AAA68
monochromatic
#4C2555 #72377F #984AAA #B270C1 #C99BD3

Accessibility & contrast

On white

5.39
#984AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#984AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984AAA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984AAA#FFFFFF#000000##FFFFFF
##984AAA1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#516DA7
Tritanopia (blue-blind)
#995873
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #984aaa;
/* rgb */ color: rgb(152, 74, 170);
/* oklch */ color: oklch(54.5% 0.163 319.8);
Tailwind
colors: {
  custom: {
    50: '#b980c4',
    500: '#984aaa',
    950: '#000000',
  },
}
SCSS
$custom: #984aaa;
$custom-light: #b980c4;
$custom-dark: #000000;
JSON
{
  "hex": "#984aaa",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 288.75,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5451,
    "c": 0.1627,
    "h": 319.8
  },
  "luminance": 0.14475
}

Semantic roles & 50–950 ramp

primary
#984AAA
secondary
#99C090
accent
#CF596F
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A12
muted
#817C81

Preview Lab

Preview with #984AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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