#984BE7#984BE7

#984BE7 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.6% C 0.225 H 302.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#984BE7
RGBrgb(152, 75, 231)
HSLhsl(270, 76%, 60%)
HSVhsv(270, 68%, 91%)
CMYKcmyk(34.2%, 67.5%, 0%, 9.4%)
CIE-LABlab(48.86, 60.45, -66.66)
CIE-LCHlch(48.86, 89.99, 312.20°)
OKLaboklab(58.57% 0.121 -0.1896)
OKLCHoklch(58.57% 0.225 302.5)
XYZxyz(29.8854, 17.4770, 77.3848)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BE7 #9AE74B
analogous
#4B4CE7 #984BE7 #E64BE7
triadic
#984BE7 #E7984B #4BE798
tetradic
#984BE7 #E74B4C #9AE74B #4BE7E6
square
#984BE7 #E74B4C #9AE74B #4BE7E6
split-complementary
#984BE7 #E7E64B #4CE74B
monochromatic
#5B16A2 #791DD8 #984BE7 #B781EE #D6B7F5

Accessibility & contrast

On white

4.67
#984BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#984BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #984BE7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BE7#FFFFFF#000000##FFFFFF
##984BE71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#886F93
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #984be7;
/* rgb */ color: rgb(152, 75, 231);
/* oklch */ color: oklch(58.6% 0.225 302.5);
Tailwind
colors: {
  custom: {
    50: '#bc83f0',
    500: '#984be7',
    950: '#000000',
  },
}
SCSS
$custom: #984be7;
$custom-light: #bc83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#984be7",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 269.615,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.58572,
    "c": 0.22498,
    "h": 302.5
  },
  "luminance": 0.17477
}

Semantic roles & 50–950 ramp

primary
#984BE7
secondary
#C7E5A9
accent
#F33595
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #984BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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