#984CC9#984CC9

#984CC9 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.6% C 0.192 H 309.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#984CC9
RGBrgb(152, 76, 201)
HSLhsl(276, 54%, 54%)
HSVhsv(276, 62%, 79%)
CMYKcmyk(24.4%, 62.2%, 0%, 21.2%)
CIE-LABlab(47.06, 53.09, -52.45)
CIE-LCHlch(47.06, 74.63, 315.35°)
OKLaboklab(56.65% 0.1224 -0.1479)
OKLCHoklch(56.65% 0.192 309.6)
XYZxyz(26.0739, 16.0618, 56.9737)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CC9 #7DC94C
analogous
#5A4CC9 #984CC9 #C94CBC
triadic
#984CC9 #C9984C #4CC998
tetradic
#984CC9 #C95A4C #7DC94C #4CBCC9
square
#984CC9 #C95A4C #7DC94C #4CBCC9
split-complementary
#984CC9 #BCC94C #4CC95A
monochromatic
#562477 #7832A6 #984CC9 #B37BD7 #CEAAE5

Accessibility & contrast

On white

4.99
#984CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#984CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CC9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CC9#FFFFFF#000000##FFFFFF
##984CC91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6CCD
Deuteranopia (green-blind)
#3B71C6
Tritanopia (blue-blind)
#916584
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984cc9;
/* rgb */ color: rgb(152, 76, 201);
/* oklch */ color: oklch(56.6% 0.192 309.6);
Tailwind
colors: {
  custom: {
    50: '#ba82da',
    500: '#984cc9',
    950: '#000000',
  },
}
SCSS
$custom: #984cc9;
$custom-light: #ba82da;
$custom-dark: #000000;
JSON
{
  "hex": "#984cc9",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 276.48,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56648,
    "c": 0.19198,
    "h": 309.6
  },
  "luminance": 0.16061
}

Semantic roles & 50–950 ramp

primary
#984CC9
secondary
#B3D39E
accent
#DD4B84
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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