#984AD8#984AD8

#984AD8 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.211 H 306.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#984AD8
RGBrgb(152, 74, 216)
HSLhsl(273, 65%, 57%)
HSVhsv(273, 66%, 85%)
CMYKcmyk(29.6%, 65.7%, 0%, 15.3%)
CIE-LABlab(47.66, 57.45, -60.08)
CIE-LCHlch(47.66, 83.12, 313.72°)
OKLaboklab(57.39% 0.1238 -0.1703)
OKLCHoklch(57.39% 0.211 306)
XYZxyz(27.7897, 16.5311, 66.6793)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AD8 #8AD84A
analogous
#514AD8 #984AD8 #D84AD1
triadic
#984AD8 #D8984A #4AD898
tetradic
#984AD8 #D8514A #8AD84A #4AD1D8
square
#984AD8 #D8514A #8AD84A #4AD1D8
split-complementary
#984AD8 #D1D84A #4AD851
monochromatic
#591E8A #7A29BC #984AD8 #B57CE3 #D1AFEE

Accessibility & contrast

On white

4.88
#984AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#984AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984AD8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984AD8#FFFFFF#000000##FFFFFF
##984AD81.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#2471D5
Tritanopia (blue-blind)
#8D698B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984ad8;
/* rgb */ color: rgb(152, 74, 216);
/* oklch */ color: oklch(57.4% 0.211 306.0);
Tailwind
colors: {
  custom: {
    50: '#bb82e5',
    500: '#984ad8',
    950: '#000000',
  },
}
SCSS
$custom: #984ad8;
$custom-light: #bb82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#984ad8",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 216
  },
  "hsl": {
    "h": 272.958,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57394,
    "c": 0.21051,
    "h": 306
  },
  "luminance": 0.16531
}

Semantic roles & 50–950 ramp

primary
#984AD8
secondary
#BCDCA2
accent
#E8408C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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