#984DE4#984DE4

#984DE4 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.219 H 303.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#984DE4
RGBrgb(152, 77, 228)
HSLhsl(270, 74%, 60%)
HSVhsv(270, 66%, 89%)
CMYKcmyk(33.3%, 66.2%, 0%, 10.6%)
CIE-LABlab(48.99, 58.80, -64.75)
CIE-LCHlch(48.99, 87.47, 312.24°)
OKLaboklab(58.6% 0.1193 -0.184)
OKLCHoklch(58.6% 0.219 303)
XYZxyz(29.6031, 17.5846, 75.2183)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DE4 #99E44D
analogous
#4D4EE4 #984DE4 #E34DE4
triadic
#984DE4 #E4984D #4DE498
tetradic
#984DE4 #E44D4E #99E44D #4DE4E3
square
#984DE4 #E44D4E #99E44D #4DE4E3
split-complementary
#984DE4 #E4E34D #4EE44D
monochromatic
#5B189F #7920D4 #984DE4 #B782EC #D5B7F4

Accessibility & contrast

On white

4.65
#984DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#984DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #984DE4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DE4#FFFFFF#000000##FFFFFF
##984DE41.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#0874E1
Tritanopia (blue-blind)
#896F92
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #984de4;
/* rgb */ color: rgb(152, 77, 228);
/* oklch */ color: oklch(58.6% 0.219 303.0);
Tailwind
colors: {
  custom: {
    50: '#bc84ed',
    500: '#984de4',
    950: '#000000',
  },
}
SCSS
$custom: #984de4;
$custom-light: #bc84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#984de4",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 228
  },
  "hsl": {
    "h": 269.801,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.21933,
    "h": 303
  },
  "luminance": 0.17585
}

Semantic roles & 50–950 ramp

primary
#984DE4
secondary
#C7E4A9
accent
#F03795
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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