#984DEC#984DEC

#984DEC is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.2% C 0.228 H 301.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#984DEC
RGBrgb(152, 77, 236)
HSLhsl(268, 81%, 61%)
HSVhsv(268, 67%, 93%)
CMYKcmyk(35.6%, 67.4%, 0%, 7.5%)
CIE-LABlab(49.54, 60.69, -68.36)
CIE-LCHlch(49.54, 91.42, 311.60°)
OKLaboklab(59.17% 0.1183 -0.1946)
OKLCHoklch(59.17% 0.228 301.3)
XYZxyz(30.7394, 18.0391, 81.2030)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DEC #A1EC4D
analogous
#4D52EC #984DEC #E84DEC
triadic
#984DEC #EC984D #4DEC98
tetradic
#984DEC #EC4D52 #A1EC4D #4DECE8
square
#984DEC #EC4D52 #A1EC4D #4DECE8
split-complementary
#984DEC #ECE84D #52EC4D
monochromatic
#5B12AC #7818E4 #984DEC #B884F2 #D8BCF8

Accessibility & contrast

On white

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

On black

4.61
#984DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #984DEC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DEC#FFFFFF#000000##000000
##984DEC1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#867297
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #984dec;
/* rgb */ color: rgb(152, 77, 236);
/* oklch */ color: oklch(59.2% 0.228 301.3);
Tailwind
colors: {
  custom: {
    50: '#bc84f3',
    500: '#984dec',
    950: '#000000',
  },
}
SCSS
$custom: #984dec;
$custom-light: #bc84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#984dec",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 268.302,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.2278,
    "h": 301.3
  },
  "luminance": 0.18039
}

Semantic roles & 50–950 ramp

primary
#984DEC
secondary
#CCE8AD
accent
#DD0879
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #984DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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