#984CD5#984CD5

#984CD5 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.205 H 306.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#984CD5
RGBrgb(152, 76, 213)
HSLhsl(273, 62%, 57%)
HSVhsv(273, 64%, 84%)
CMYKcmyk(28.6%, 64.3%, 0%, 16.5%)
CIE-LABlab(47.81, 55.80, -58.12)
CIE-LCHlch(47.81, 80.57, 313.84°)
OKLaboklab(57.44% 0.1218 -0.1645)
OKLCHoklch(57.44% 0.205 306.5)
XYZxyz(27.5410, 16.6487, 64.7005)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CD5 #89D54C
analogous
#544CD5 #984CD5 #D54CCD
triadic
#984CD5 #D5984C #4CD598
tetradic
#984CD5 #D5544C #89D54C #4CCDD5
square
#984CD5 #D5544C #89D54C #4CCDD5
split-complementary
#984CD5 #CDD54C #4CD554
monochromatic
#592087 #7A2BB9 #984CD5 #B57EE1 #D1AFEC

Accessibility & contrast

On white

4.85
#984CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#984CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CD5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CD5#FFFFFF#000000##FFFFFF
##984CD51.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #984cd5;
/* rgb */ color: rgb(152, 76, 213);
/* oklch */ color: oklch(57.4% 0.205 306.5);
Tailwind
colors: {
  custom: {
    50: '#bb83e3',
    500: '#984cd5',
    950: '#000000',
  },
}
SCSS
$custom: #984cd5;
$custom-light: #bb83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#984cd5",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 273.285,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57439,
    "c": 0.20471,
    "h": 306.5
  },
  "luminance": 0.16648
}

Semantic roles & 50–950 ramp

primary
#984CD5
secondary
#BBDAA2
accent
#E5438B
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #984CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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