#984CD9#984CD9

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

Color values

HEX#984CD9
RGBrgb(152, 76, 217)
HSLhsl(272, 65%, 57%)
HSVhsv(272, 65%, 85%)
CMYKcmyk(30%, 65%, 0%, 14.9%)
CIE-LABlab(48.08, 56.72, -59.98)
CIE-LCHlch(48.08, 82.55, 313.40°)
OKLaboklab(57.71% 0.1215 -0.17)
OKLCHoklch(57.71% 0.209 305.5)
XYZxyz(28.0550, 16.8542, 67.4074)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CD9 #8DD94C
analogous
#514CD9 #984CD9 #D94CD4
triadic
#984CD9 #D9984C #4CD998
tetradic
#984CD9 #D9514C #8DD94C #4CD4D9
square
#984CD9 #D9514C #8DD94C #4CD4D9
split-complementary
#984CD9 #D4D94C #4CD951
monochromatic
#5A1E8D #7A29BF #984CD9 #B57EE4 #D2B1EE

Accessibility & contrast

On white

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

On black

4.37
#984CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##984CD9#FFFFFF#000000##FFFFFF
##984CD91.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#2672D6
Tritanopia (blue-blind)
#8D6A8C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #984cd9;
/* rgb */ color: rgb(152, 76, 217);
/* oklch */ color: oklch(57.7% 0.209 305.5);
Tailwind
colors: {
  custom: {
    50: '#bb83e6',
    500: '#984cd9',
    950: '#000000',
  },
}
SCSS
$custom: #984cd9;
$custom-light: #bb83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#984cd9",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 272.34,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.20894,
    "h": 305.5
  },
  "luminance": 0.16854
}

Semantic roles & 50–950 ramp

primary
#984CD9
secondary
#BEDDA4
accent
#E8408D
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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