#984BD9#984BD9

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

Color values

HEX#984BD9
RGBrgb(152, 75, 217)
HSLhsl(273, 65%, 57%)
HSVhsv(273, 65%, 85%)
CMYKcmyk(30%, 65.4%, 0%, 14.9%)
CIE-LABlab(47.90, 57.20, -60.26)
CIE-LCHlch(47.90, 83.09, 313.51°)
OKLaboklab(57.59% 0.1226 -0.1708)
OKLCHoklch(57.59% 0.21 305.7)
XYZxyz(27.9866, 16.7175, 67.3846)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BD9 #8CD94B
analogous
#514BD9 #984BD9 #D94BD3
triadic
#984BD9 #D9984B #4BD998
tetradic
#984BD9 #D9514B #8CD94B #4BD3D9
square
#984BD9 #D9514B #8CD94B #4BD3D9
split-complementary
#984BD9 #D3D94B #4BD951
monochromatic
#591E8C #7A28BF #984BD9 #B57EE4 #D2B0EE

Accessibility & contrast

On white

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

On black

4.34
#984BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##984BD9#FFFFFF#000000##FFFFFF
##984BD91.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#2472D6
Tritanopia (blue-blind)
#8D6A8C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #984bd9;
/* rgb */ color: rgb(152, 75, 217);
/* oklch */ color: oklch(57.6% 0.210 305.7);
Tailwind
colors: {
  custom: {
    50: '#bb82e6',
    500: '#984bd9',
    950: '#000000',
  },
}
SCSS
$custom: #984bd9;
$custom-light: #bb82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#984bd9",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 272.535,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57586,
    "c": 0.21026,
    "h": 305.7
  },
  "luminance": 0.16717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #984BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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