#984AE6#984AE6

#984AE6 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.4% C 0.225 H 302.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#984AE6
RGBrgb(152, 74, 230)
HSLhsl(270, 76%, 60%)
HSVhsv(270, 68%, 90%)
CMYKcmyk(33.9%, 67.8%, 0%, 9.8%)
CIE-LABlab(48.62, 60.68, -66.48)
CIE-LCHlch(48.62, 90.01, 312.39°)
OKLaboklab(58.38% 0.1222 -0.1891)
OKLCHoklch(58.38% 0.225 302.9)
XYZxyz(29.6773, 17.2861, 76.6206)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AE6 #98E64A
analogous
#4A4AE6 #984AE6 #E64AE6
triadic
#984AE6 #E6984A #4AE698
tetradic
#984AE6 #E64A4A #98E64A #4AE6E6
square
#984AE6 #E64A4A #98E64A #4AE6E6
split-complementary
#984AE6 #E6E64A #4AE64A
monochromatic
#5B16A0 #791DD5 #984AE6 #B780ED #D5B6F5

Accessibility & contrast

On white

4.71
#984AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#984AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984AE6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984AE6#FFFFFF#000000##FFFFFF
##984AE61.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#886E92
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984ae6;
/* rgb */ color: rgb(152, 74, 230);
/* oklch */ color: oklch(58.4% 0.225 302.9);
Tailwind
colors: {
  custom: {
    50: '#bc82ef',
    500: '#984ae6',
    950: '#000000',
  },
}
SCSS
$custom: #984ae6;
$custom-light: #bc82ef;
$custom-dark: #000000;
JSON
{
  "hex": "#984ae6",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 270,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5838,
    "c": 0.22515,
    "h": 302.9
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#984AE6
secondary
#C6E4A8
accent
#F23594
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #984AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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