#984BD7#984BD7

#984BD7 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.208 H 306.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#984BD7
RGBrgb(152, 75, 215)
HSLhsl(273, 64%, 57%)
HSVhsv(273, 65%, 84%)
CMYKcmyk(29.3%, 65.1%, 0%, 15.7%)
CIE-LABlab(47.77, 56.74, -59.33)
CIE-LCHlch(47.77, 82.10, 313.72°)
OKLaboklab(57.45% 0.1228 -0.1681)
OKLCHoklch(57.45% 0.208 306.1)
XYZxyz(27.7281, 16.6141, 66.0229)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BD7 #8AD74B
analogous
#524BD7 #984BD7 #D74BD0
triadic
#984BD7 #D7984B #4BD798
tetradic
#984BD7 #D7524B #8AD74B #4BD0D7
square
#984BD7 #D7524B #8AD74B #4BD0D7
split-complementary
#984BD7 #D0D74B #4BD752
monochromatic
#591E89 #7A2ABB #984BD7 #B57DE2 #D1AFED

Accessibility & contrast

On white

4.86
#984BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#984BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BD7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BD7#FFFFFF#000000##FFFFFF
##984BD71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#2872D4
Tritanopia (blue-blind)
#8D698B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984bd7;
/* rgb */ color: rgb(152, 75, 215);
/* oklch */ color: oklch(57.4% 0.208 306.1);
Tailwind
colors: {
  custom: {
    50: '#bb82e4',
    500: '#984bd7',
    950: '#000000',
  },
}
SCSS
$custom: #984bd7;
$custom-light: #bb82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#984bd7",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 273,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57449,
    "c": 0.20815,
    "h": 306.1
  },
  "luminance": 0.16614
}

Semantic roles & 50–950 ramp

primary
#984BD7
secondary
#BCDBA2
accent
#E7418C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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