#984CD7#984CD7

#984CD7 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.207 H 306.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#984CD7
RGBrgb(152, 76, 215)
HSLhsl(273, 63%, 57%)
HSVhsv(273, 65%, 84%)
CMYKcmyk(29.3%, 64.7%, 0%, 15.7%)
CIE-LABlab(47.94, 56.26, -59.05)
CIE-LCHlch(47.94, 81.56, 313.61°)
OKLaboklab(57.58% 0.1217 -0.1673)
OKLCHoklch(57.58% 0.207 306)
XYZxyz(27.7964, 16.7508, 66.0457)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CD7 #8BD74C
analogous
#534CD7 #984CD7 #D74CD0
triadic
#984CD7 #D7984C #4CD798
tetradic
#984CD7 #D7534C #8BD74C #4CD0D7
square
#984CD7 #D7534C #8BD74C #4CD0D7
split-complementary
#984CD7 #D0D74C #4CD753
monochromatic
#591F8A #7A2ABC #984CD7 #B57EE2 #D2B0ED

Accessibility & contrast

On white

4.83
#984CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#984CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CD7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CD7#FFFFFF#000000##FFFFFF
##984CD71.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#2972D4
Tritanopia (blue-blind)
#8D6A8B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #984cd7;
/* rgb */ color: rgb(152, 76, 215);
/* oklch */ color: oklch(57.6% 0.207 306.0);
Tailwind
colors: {
  custom: {
    50: '#bb83e4',
    500: '#984cd7',
    950: '#000000',
  },
}
SCSS
$custom: #984cd7;
$custom-light: #bb83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#984cd7",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 272.806,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.20683,
    "h": 306
  },
  "luminance": 0.16751
}

Semantic roles & 50–950 ramp

primary
#984CD7
secondary
#BDDCA3
accent
#E6418C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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