#984AEB#984AEB

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

Color values

HEX#984AEB
RGBrgb(152, 74, 235)
HSLhsl(269, 80%, 61%)
HSVhsv(269, 69%, 92%)
CMYKcmyk(35.3%, 68.5%, 0%, 7.8%)
CIE-LABlab(48.97, 61.85, -68.73)
CIE-LCHlch(48.97, 92.46, 311.98°)
OKLaboklab(58.74% 0.1215 -0.1957)
OKLCHoklch(58.74% 0.23 301.8)
XYZxyz(30.3895, 17.5710, 80.3717)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AEB #9DEB4A
analogous
#4A4CEB #984AEB #E84AEB
triadic
#984AEB #EB984A #4AEB98
tetradic
#984AEB #EB4A4C #9DEB4A #4AEBE8
square
#984AEB #EB4A4C #9DEB4A #4AEBE8
split-complementary
#984AEB #EBE84A #4CEB4A
monochromatic
#5B13A8 #7919DF #984AEB #B781F1 #D7B8F7

Accessibility & contrast

On white

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

On black

4.51
#984AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##984AEB#FFFFFF#000000##FFFFFF
##984AEB1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#877095
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #984aeb;
/* rgb */ color: rgb(152, 74, 235);
/* oklch */ color: oklch(58.7% 0.230 301.8);
Tailwind
colors: {
  custom: {
    50: '#bc82f2',
    500: '#984aeb',
    950: '#000000',
  },
}
SCSS
$custom: #984aeb;
$custom-light: #bc82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#984aeb",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 269.068,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58743,
    "c": 0.23036,
    "h": 301.8
  },
  "luminance": 0.17571
}

Semantic roles & 50–950 ramp

primary
#984AEB
secondary
#C9E7AA
accent
#DC0976
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #984AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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