#984AE1#984AE1

#984AE1 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.0% C 0.220 H 304.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#984AE1
RGBrgb(152, 74, 225)
HSLhsl(271, 72%, 59%)
HSVhsv(271, 67%, 88%)
CMYKcmyk(32.4%, 67.1%, 0%, 11.8%)
CIE-LABlab(48.27, 59.52, -64.21)
CIE-LCHlch(48.27, 87.55, 312.83°)
OKLaboklab(58.02% 0.1228 -0.1824)
OKLCHoklch(58.02% 0.22 304)
XYZxyz(28.9852, 17.0093, 72.9757)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AE1 #93E14A
analogous
#4C4AE1 #984AE1 #E14ADF
triadic
#984AE1 #E1984A #4AE198
tetradic
#984AE1 #E14C4A #93E14A #4ADFE1
square
#984AE1 #E14C4A #93E14A #4ADFE1
split-complementary
#984AE1 #DFE14A #4AE14C
monochromatic
#5A1997 #7A22CC #984AE1 #B67EEA #D4B3F2

Accessibility & contrast

On white

4.77
#984AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#984AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984AE1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984AE1#FFFFFF#000000##FFFFFF
##984AE11.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0972DE
Tritanopia (blue-blind)
#8A6C90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984ae1;
/* rgb */ color: rgb(152, 74, 225);
/* oklch */ color: oklch(58.0% 0.220 304.0);
Tailwind
colors: {
  custom: {
    50: '#bb82eb',
    500: '#984ae1',
    950: '#000000',
  },
}
SCSS
$custom: #984ae1;
$custom-light: #bb82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#984ae1",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 270.993,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58022,
    "c": 0.21993,
    "h": 304
  },
  "luminance": 0.17009
}

Semantic roles & 50–950 ramp

primary
#984AE1
secondary
#C2E1A6
accent
#EE3991
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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