#984AD2#984AD2

#984AD2 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.204 H 307.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#984AD2
RGBrgb(152, 74, 210)
HSLhsl(274, 60%, 56%)
HSVhsv(274, 65%, 82%)
CMYKcmyk(27.6%, 64.8%, 0%, 17.6%)
CIE-LABlab(47.27, 56.08, -57.28)
CIE-LCHlch(47.27, 80.16, 314.40°)
OKLaboklab(56.99% 0.1243 -0.162)
OKLCHoklch(56.99% 0.204 307.5)
XYZxyz(27.0281, 16.2265, 62.6684)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AD2 #84D24A
analogous
#544AD2 #984AD2 #D24AC8
triadic
#984AD2 #D2984A #4AD298
tetradic
#984AD2 #D2544A #84D24A #4AC8D2
square
#984AD2 #D2544A #84D24A #4AC8D2
split-complementary
#984AD2 #C8D24A #4AD254
monochromatic
#582081 #792CB2 #984AD2 #B47BDE #D0ACEA

Accessibility & contrast

On white

4.95
#984AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#984AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984AD2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984AD2#FFFFFF#000000##FFFFFF
##984AD21.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#2E71CF
Tritanopia (blue-blind)
#8F6688
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984ad2;
/* rgb */ color: rgb(152, 74, 210);
/* oklch */ color: oklch(57.0% 0.204 307.5);
Tailwind
colors: {
  custom: {
    50: '#ba81e0',
    500: '#984ad2',
    950: '#000000',
  },
}
SCSS
$custom: #984ad2;
$custom-light: #ba81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#984ad2",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 274.412,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56985,
    "c": 0.20422,
    "h": 307.5
  },
  "luminance": 0.16226
}

Semantic roles & 50–950 ramp

primary
#984AD2
secondary
#B8D8A0
accent
#E34488
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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