#984AEC#984AEC

#984AEC is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.231 H 301.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#984AEC
RGBrgb(152, 74, 236)
HSLhsl(269, 81%, 61%)
HSVhsv(269, 69%, 93%)
CMYKcmyk(35.6%, 68.6%, 0%, 7.5%)
CIE-LABlab(49.04, 62.08, -69.18)
CIE-LCHlch(49.04, 92.95, 311.91°)
OKLaboklab(58.82% 0.1214 -0.197)
OKLCHoklch(58.82% 0.231 301.6)
XYZxyz(30.5344, 17.6290, 81.1347)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AEC #9EEC4A
analogous
#4A4DEC #984AEC #E94AEC
triadic
#984AEC #EC984A #4AEC98
tetradic
#984AEC #EC4A4D #9EEC4A #4AECE9
square
#984AEC #EC4A4D #9EEC4A #4AECE9
split-complementary
#984AEC #ECE94A #4DEC4A
monochromatic
#5B12AA #7918E1 #984AEC #B881F2 #D7B9F8

Accessibility & contrast

On white

4.64
#984AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#984AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #984AEC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984AEC#FFFFFF#000000##FFFFFF
##984AEC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#867096
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #984aec;
/* rgb */ color: rgb(152, 74, 236);
/* oklch */ color: oklch(58.8% 0.231 301.6);
Tailwind
colors: {
  custom: {
    50: '#bc82f3',
    500: '#984aec',
    950: '#000000',
  },
}
SCSS
$custom: #984aec;
$custom-light: #bc82f3;
$custom-dark: #000000;
JSON
{
  "hex": "#984aec",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 236
  },
  "hsl": {
    "h": 268.889,
    "s": 81,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58817,
    "c": 0.2314,
    "h": 301.6
  },
  "luminance": 0.17629
}

Semantic roles & 50–950 ramp

primary
#984AEC
secondary
#CAE8AA
accent
#DD0877
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #984AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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