#984CC2#984CC2

#984CC2 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.2% C 0.185 H 311.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#984CC2
RGBrgb(152, 76, 194)
HSLhsl(279, 49%, 53%)
HSVhsv(279, 61%, 76%)
CMYKcmyk(21.6%, 60.8%, 0%, 23.9%)
CIE-LABlab(46.63, 51.54, -49.08)
CIE-LCHlch(46.63, 71.17, 316.40°)
OKLaboklab(56.21% 0.1225 -0.138)
OKLCHoklch(56.21% 0.185 311.6)
XYZxyz(25.2692, 15.7399, 52.7354)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CC2 #76C24C
analogous
#5D4CC2 #984CC2 #C24CB1
triadic
#984CC2 #C2984C #4CC298
tetradic
#984CC2 #C25D4C #76C24C #4CB1C2
square
#984CC2 #C25D4C #76C24C #4CB1C2
split-complementary
#984CC2 #B1C24C #4CC25D
monochromatic
#54266E #77359C #984CC2 #B27AD2 #CDA7E1

Accessibility & contrast

On white

5.06
#984CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#984CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CC2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CC2#FFFFFF#000000##FFFFFF
##984CC21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6BC6
Deuteranopia (green-blind)
#4270BF
Tritanopia (blue-blind)
#936280
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #984cc2;
/* rgb */ color: rgb(152, 76, 194);
/* oklch */ color: oklch(56.2% 0.185 311.6);
Tailwind
colors: {
  custom: {
    50: '#b982d5',
    500: '#984cc2',
    950: '#000000',
  },
}
SCSS
$custom: #984cc2;
$custom-light: #b982d5;
$custom-dark: #000000;
JSON
{
  "hex": "#984cc2",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 278.644,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.18457,
    "h": 311.6
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#984CC2
secondary
#AECE9B
accent
#D94F80
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #984CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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