#984DD9#984DD9

#984DD9 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.208 H 305.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#984DD9
RGBrgb(152, 77, 217)
HSLhsl(272, 65%, 58%)
HSVhsv(272, 65%, 85%)
CMYKcmyk(30%, 64.5%, 0%, 14.9%)
CIE-LABlab(48.25, 56.24, -59.70)
CIE-LCHlch(48.25, 82.02, 313.29°)
OKLaboklab(57.84% 0.1204 -0.1692)
OKLCHoklch(57.84% 0.208 305.4)
XYZxyz(28.1244, 16.9931, 67.4305)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DD9 #8ED94D
analogous
#524DD9 #984DD9 #D94DD4
triadic
#984DD9 #D9984D #4DD998
tetradic
#984DD9 #D9524D #8ED94D #4DD4D9
square
#984DD9 #D9524D #8ED94D #4DD4D9
split-complementary
#984DD9 #D4D94D #4DD952
monochromatic
#5A1E8D #7A29C0 #984DD9 #B57FE4 #D2B2EF

Accessibility & contrast

On white

4.77
#984DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#984DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DD9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DD9#FFFFFF#000000##FFFFFF
##984DD91.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#2873D6
Tritanopia (blue-blind)
#8D6B8C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984dd9;
/* rgb */ color: rgb(152, 77, 217);
/* oklch */ color: oklch(57.8% 0.208 305.4);
Tailwind
colors: {
  custom: {
    50: '#bb83e5',
    500: '#984dd9',
    950: '#000000',
  },
}
SCSS
$custom: #984dd9;
$custom-light: #bb83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#984dd9",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 272.143,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57837,
    "c": 0.20763,
    "h": 305.4
  },
  "luminance": 0.16993
}

Semantic roles & 50–950 ramp

primary
#984DD9
secondary
#BFDDA5
accent
#E8408E
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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