#984EE9#984EE9

#984EE9 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.1% C 0.223 H 301.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#984EE9
RGBrgb(152, 78, 233)
HSLhsl(269, 78%, 61%)
HSVhsv(269, 67%, 91%)
CMYKcmyk(34.8%, 66.5%, 0%, 8.6%)
CIE-LABlab(49.51, 59.51, -66.74)
CIE-LCHlch(49.51, 89.42, 311.72°)
OKLaboklab(59.08% 0.1177 -0.1899)
OKLCHoklch(59.08% 0.223 301.8)
XYZxyz(30.3778, 18.0073, 78.9503)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EE9 #9FE94E
analogous
#4E51E9 #984EE9 #E54EE9
triadic
#984EE9 #E9984E #4EE998
tetradic
#984EE9 #E94E51 #9FE94E #4EE9E5
square
#984EE9 #E94E51 #9FE94E #4EE9E5
split-complementary
#984EE9 #E9E54E #51E94E
monochromatic
#5B15A8 #791CDE #984EE9 #B884F0 #D7BBF7

Accessibility & contrast

On white

4.56
#984EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#984EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #984EE9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EE9#FFFFFF#000000##000000
##984EE91.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#877195
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #984ee9;
/* rgb */ color: rgb(152, 78, 233);
/* oklch */ color: oklch(59.1% 0.223 301.8);
Tailwind
colors: {
  custom: {
    50: '#bc84f1',
    500: '#984ee9',
    950: '#000000',
  },
}
SCSS
$custom: #984ee9;
$custom-light: #bc84f1;
$custom-dark: #000000;
JSON
{
  "hex": "#984ee9",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 268.645,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5908,
    "c": 0.2234,
    "h": 301.8
  },
  "luminance": 0.18007
}

Semantic roles & 50–950 ramp

primary
#984EE9
secondary
#CBE7AC
accent
#DA0B77
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #984EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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