#984DD5#984DD5

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

Color values

HEX#984DD5
RGBrgb(152, 77, 213)
HSLhsl(273, 62%, 57%)
HSVhsv(273, 64%, 84%)
CMYKcmyk(28.6%, 63.8%, 0%, 16.5%)
CIE-LABlab(47.99, 55.32, -57.83)
CIE-LCHlch(47.99, 80.03, 313.73°)
OKLaboklab(57.57% 0.1207 -0.1637)
OKLCHoklch(57.57% 0.203 306.4)
XYZxyz(27.6104, 16.7875, 64.7237)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DD5 #8AD54D
analogous
#544DD5 #984DD5 #D54DCE
triadic
#984DD5 #D5984D #4DD598
tetradic
#984DD5 #D5544D #8AD54D #4DCED5
square
#984DD5 #D5544D #8AD54D #4DCED5
split-complementary
#984DD5 #CED54D #4DD554
monochromatic
#592088 #7A2CB9 #984DD5 #B57FE1 #D1B0EC

Accessibility & contrast

On white

4.82
#984DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#984DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DD5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DD5#FFFFFF#000000##FFFFFF
##984DD51.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#2E72D2
Tritanopia (blue-blind)
#8E698A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #984dd5;
/* rgb */ color: rgb(152, 77, 213);
/* oklch */ color: oklch(57.6% 0.203 306.4);
Tailwind
colors: {
  custom: {
    50: '#ba83e3',
    500: '#984dd5',
    950: '#000000',
  },
}
SCSS
$custom: #984dd5;
$custom-light: #ba83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#984dd5",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 273.088,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57567,
    "c": 0.20336,
    "h": 306.4
  },
  "luminance": 0.16787
}

Semantic roles & 50–950 ramp

primary
#984DD5
secondary
#BCDBA3
accent
#E5438C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #984DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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