#984DCA#984DCA

#984DCA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.192 H 309.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#984DCA
RGBrgb(152, 77, 202)
HSLhsl(276, 54%, 55%)
HSVhsv(276, 62%, 79%)
CMYKcmyk(24.8%, 61.9%, 0%, 20.8%)
CIE-LABlab(47.30, 52.82, -52.64)
CIE-LCHlch(47.30, 74.57, 315.10°)
OKLaboklab(56.84% 0.1212 -0.1484)
OKLCHoklch(56.84% 0.192 309.2)
XYZxyz(26.2613, 16.2479, 57.6184)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DCA #7FCA4D
analogous
#5A4DCA #984DCA #CA4DBE
triadic
#984DCA #CA984D #4DCA98
tetradic
#984DCA #CA5A4D #7FCA4D #4DBECA
square
#984DCA #CA5A4D #7FCA4D #4DBECA
split-complementary
#984DCA #BECA4D #4DCA5A
monochromatic
#572479 #7932A8 #984DCA #B37CD8 #CFABE6

Accessibility & contrast

On white

4.94
#984DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#984DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DCA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DCA#FFFFFF#000000##FFFFFF
##984DCA1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6DCE
Deuteranopia (green-blind)
#3C71C7
Tritanopia (blue-blind)
#916684
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984dca;
/* rgb */ color: rgb(152, 77, 202);
/* oklch */ color: oklch(56.8% 0.192 309.2);
Tailwind
colors: {
  custom: {
    50: '#ba83db',
    500: '#984dca',
    950: '#000000',
  },
}
SCSS
$custom: #984dca;
$custom-light: #ba83db;
$custom-dark: #000000;
JSON
{
  "hex": "#984dca",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 276,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56844,
    "c": 0.19162,
    "h": 309.2
  },
  "luminance": 0.16247
}

Semantic roles & 50–950 ramp

primary
#984DCA
secondary
#B4D49F
accent
#DD4A85
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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