#984DD7#984DD7

#984DD7 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.205 H 305.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#984DD7
RGBrgb(152, 77, 215)
HSLhsl(273, 63%, 57%)
HSVhsv(273, 64%, 84%)
CMYKcmyk(29.3%, 64.2%, 0%, 15.7%)
CIE-LABlab(48.12, 55.78, -58.77)
CIE-LCHlch(48.12, 81.02, 313.51°)
OKLaboklab(57.7% 0.1205 -0.1664)
OKLCHoklch(57.7% 0.205 305.9)
XYZxyz(27.8659, 16.8897, 66.0688)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DD7 #8CD74D
analogous
#534DD7 #984DD7 #D74DD1
triadic
#984DD7 #D7984D #4DD798
tetradic
#984DD7 #D7534D #8CD74D #4DD1D7
square
#984DD7 #D7534D #8CD74D #4DD1D7
split-complementary
#984DD7 #D1D74D #4DD753
monochromatic
#591F8A #7A2ABC #984DD7 #B57FE2 #D2B1ED

Accessibility & contrast

On white

4.80
#984DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#984DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DD7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DD7#FFFFFF#000000##FFFFFF
##984DD71.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#2B73D4
Tritanopia (blue-blind)
#8D6A8B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #984dd7;
/* rgb */ color: rgb(152, 77, 215);
/* oklch */ color: oklch(57.7% 0.205 305.9);
Tailwind
colors: {
  custom: {
    50: '#bb83e4',
    500: '#984dd7',
    950: '#000000',
  },
}
SCSS
$custom: #984dd7;
$custom-light: #bb83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#984dd7",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 272.609,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57702,
    "c": 0.20549,
    "h": 305.9
  },
  "luminance": 0.16889
}

Semantic roles & 50–950 ramp

primary
#984DD7
secondary
#BDDCA4
accent
#E6418D
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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