#984DE7#984DE7

#984DE7 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.8% C 0.223 H 302.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#984DE7
RGBrgb(152, 77, 231)
HSLhsl(269, 76%, 60%)
HSVhsv(269, 67%, 91%)
CMYKcmyk(34.2%, 66.7%, 0%, 9.4%)
CIE-LABlab(49.19, 59.51, -66.11)
CIE-LCHlch(49.19, 88.95, 311.99°)
OKLaboklab(58.81% 0.119 -0.188)
OKLCHoklch(58.81% 0.223 302.3)
XYZxyz(30.0232, 17.7526, 77.4307)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DE7 #9CE74D
analogous
#4D4FE7 #984DE7 #E54DE7
triadic
#984DE7 #E7984D #4DE798
tetradic
#984DE7 #E74D4F #9CE74D #4DE7E5
square
#984DE7 #E74D4F #9CE74D #4DE7E5
split-complementary
#984DE7 #E7E54D #4FE74D
monochromatic
#5B16A4 #791DD9 #984DE7 #B783EE #D6B9F6

Accessibility & contrast

On white

4.61
#984DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#984DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #984DE7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DE7#FFFFFF#000000##FFFFFF
##984DE71.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#887094
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #984de7;
/* rgb */ color: rgb(152, 77, 231);
/* oklch */ color: oklch(58.8% 0.223 302.3);
Tailwind
colors: {
  custom: {
    50: '#bc84f0',
    500: '#984de7',
    950: '#000000',
  },
}
SCSS
$custom: #984de7;
$custom-light: #bc84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#984de7",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 269.221,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.22251,
    "h": 302.3
  },
  "luminance": 0.17753
}

Semantic roles & 50–950 ramp

primary
#984DE7
secondary
#C9E5AA
accent
#D80D75
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #984DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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