#984DC5#984DC5

#984DC5 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.5% C 0.186 H 310.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#984DC5
RGBrgb(152, 77, 197)
HSLhsl(278, 51%, 54%)
HSVhsv(278, 61%, 77%)
CMYKcmyk(22.8%, 60.9%, 0%, 22.7%)
CIE-LABlab(46.99, 51.71, -50.24)
CIE-LCHlch(46.99, 72.09, 315.83°)
OKLaboklab(56.53% 0.1213 -0.1414)
OKLCHoklch(56.53% 0.186 310.6)
XYZxyz(25.6789, 16.0149, 54.5509)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DC5 #7AC54D
analogous
#5C4DC5 #984DC5 #C54DB6
triadic
#984DC5 #C5984D #4DC598
tetradic
#984DC5 #C55C4D #7AC54D #4DB6C5
square
#984DC5 #C55C4D #7AC54D #4DB6C5
split-complementary
#984DC5 #B6C54D #4DC55C
monochromatic
#552572 #7834A0 #984DC5 #B37BD4 #CDA9E3

Accessibility & contrast

On white

5.00
#984DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#984DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DC5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DC5#FFFFFF#000000##FFFFFF
##984DC51.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6CC9
Deuteranopia (green-blind)
#4071C2
Tritanopia (blue-blind)
#926482
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984dc5;
/* rgb */ color: rgb(152, 77, 197);
/* oklch */ color: oklch(56.5% 0.186 310.6);
Tailwind
colors: {
  custom: {
    50: '#ba83d7',
    500: '#984dc5',
    950: '#000000',
  },
}
SCSS
$custom: #984dc5;
$custom-light: #ba83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#984dc5",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 277.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56526,
    "c": 0.18629,
    "h": 310.6
  },
  "luminance": 0.16014
}

Semantic roles & 50–950 ramp

primary
#984DC5
secondary
#B0D19D
accent
#DA4D82
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #984DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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