#984EE5#984EE5

#984EE5 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.8% C 0.219 H 302.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#984EE5
RGBrgb(152, 78, 229)
HSLhsl(269, 74%, 60%)
HSVhsv(269, 66%, 90%)
CMYKcmyk(33.6%, 65.9%, 0%, 10.2%)
CIE-LABlab(49.23, 58.56, -64.93)
CIE-LCHlch(49.23, 87.43, 312.05°)
OKLaboklab(58.8% 0.1182 -0.1845)
OKLCHoklch(58.8% 0.219 302.6)
XYZxyz(29.8128, 17.7813, 75.9750)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EE5 #9BE54E
analogous
#4E4FE5 #984EE5 #E34EE5
triadic
#984EE5 #E5984E #4EE598
tetradic
#984EE5 #E54E4F #9BE54E #4EE5E3
square
#984EE5 #E54E4F #9BE54E #4EE5E3
split-complementary
#984EE5 #E5E34E #4FE54E
monochromatic
#5B18A1 #791FD6 #984EE5 #B783ED #D6B9F5

Accessibility & contrast

On white

4.61
#984EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#984EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #984EE5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EE5#FFFFFF#000000##FFFFFF
##984EE51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#0875E2
Tritanopia (blue-blind)
#897093
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #984ee5;
/* rgb */ color: rgb(152, 78, 229);
/* oklch */ color: oklch(58.8% 0.219 302.6);
Tailwind
colors: {
  custom: {
    50: '#bc84ee',
    500: '#984ee5',
    950: '#000000',
  },
}
SCSS
$custom: #984ee5;
$custom-light: #bc84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#984ee5",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 269.404,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58796,
    "c": 0.21913,
    "h": 302.6
  },
  "luminance": 0.17781
}

Semantic roles & 50–950 ramp

primary
#984EE5
secondary
#C8E4AA
accent
#D70F75
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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