#984DC2#984DC2

#984DC2 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.183 H 311.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#984DC2
RGBrgb(152, 77, 194)
HSLhsl(278, 49%, 53%)
HSVhsv(278, 60%, 76%)
CMYKcmyk(21.6%, 60.3%, 0%, 23.9%)
CIE-LABlab(46.82, 51.04, -48.79)
CIE-LCHlch(46.82, 70.61, 316.30°)
OKLaboklab(56.34% 0.1213 -0.1372)
OKLCHoklch(56.34% 0.183 311.5)
XYZxyz(25.3386, 15.8788, 52.7586)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DC2 #77C24D
analogous
#5E4DC2 #984DC2 #C24DB1
triadic
#984DC2 #C2984D #4DC298
tetradic
#984DC2 #C25E4D #77C24D #4DB1C2
square
#984DC2 #C25E4D #77C24D #4DB1C2
split-complementary
#984DC2 #B1C24D #4DC25E
monochromatic
#55266F #77369C #984DC2 #B27BD2 #CDA8E1

Accessibility & contrast

On white

5.03
#984DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#984DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DC2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DC2#FFFFFF#000000##FFFFFF
##984DC21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216BC6
Deuteranopia (green-blind)
#4370BF
Tritanopia (blue-blind)
#936380
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984dc2;
/* rgb */ color: rgb(152, 77, 194);
/* oklch */ color: oklch(56.3% 0.183 311.5);
Tailwind
colors: {
  custom: {
    50: '#b983d5',
    500: '#984dc2',
    950: '#000000',
  },
}
SCSS
$custom: #984dc2;
$custom-light: #b983d5;
$custom-dark: #000000;
JSON
{
  "hex": "#984dc2",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 278.462,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56338,
    "c": 0.1831,
    "h": 311.5
  },
  "luminance": 0.15878
}

Semantic roles & 50–950 ramp

primary
#984DC2
secondary
#AECF9C
accent
#D94F81
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #984DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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