#984AE4#984AE4

#984AE4 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.223 H 303.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#984AE4
RGBrgb(152, 74, 228)
HSLhsl(270, 74%, 59%)
HSVhsv(270, 68%, 89%)
CMYKcmyk(33.3%, 67.5%, 0%, 10.6%)
CIE-LABlab(48.48, 60.21, -65.58)
CIE-LCHlch(48.48, 89.03, 312.56°)
OKLaboklab(58.24% 0.1225 -0.1864)
OKLCHoklch(58.24% 0.223 303.3)
XYZxyz(29.3980, 17.1744, 75.1500)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AE4 #96E44A
analogous
#4B4AE4 #984AE4 #E44AE3
triadic
#984AE4 #E4984A #4AE498
tetradic
#984AE4 #E44B4A #96E44A #4AE3E4
square
#984AE4 #E44B4A #96E44A #4AE3E4
split-complementary
#984AE4 #E3E44A #4AE44B
monochromatic
#5B179C #7A1FD2 #984AE4 #B67FEC #D5B5F4

Accessibility & contrast

On white

4.74
#984AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#984AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984AE4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984AE4#FFFFFF#000000##FFFFFF
##984AE41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#896D91
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984ae4;
/* rgb */ color: rgb(152, 74, 228);
/* oklch */ color: oklch(58.2% 0.223 303.3);
Tailwind
colors: {
  custom: {
    50: '#bc82ed',
    500: '#984ae4',
    950: '#000000',
  },
}
SCSS
$custom: #984ae4;
$custom-light: #bc82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#984ae4",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 270.39,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58236,
    "c": 0.22306,
    "h": 303.3
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#984AE4
secondary
#C5E3A7
accent
#F13793
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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