#984AC5#984AC5

#984AC5 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.1% C 0.191 H 311.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#984AC5
RGBrgb(152, 74, 197)
HSLhsl(278, 51%, 53%)
HSVhsv(278, 62%, 77%)
CMYKcmyk(22.8%, 62.4%, 0%, 22.7%)
CIE-LABlab(46.45, 53.18, -51.10)
CIE-LCHlch(46.45, 73.76, 316.14°)
OKLaboklab(56.13% 0.1249 -0.1439)
OKLCHoklch(56.13% 0.191 311)
XYZxyz(25.4738, 15.6047, 54.4826)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AC5 #77C54A
analogous
#5A4AC5 #984AC5 #C54AB4
triadic
#984AC5 #C5984A #4AC598
tetradic
#984AC5 #C55A4A #77C54A #4AB4C5
square
#984AC5 #C55A4A #77C54A #4AB4C5
split-complementary
#984AC5 #B4C54A #4AC55A
monochromatic
#552471 #77339F #984AC5 #B278D4 #CDA7E3

Accessibility & contrast

On white

5.10
#984AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#984AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984AC5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984AC5#FFFFFF#000000##FFFFFF
##984AC51.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116AC9
Deuteranopia (green-blind)
#3D6FC2
Tritanopia (blue-blind)
#926281
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #984ac5;
/* rgb */ color: rgb(152, 74, 197);
/* oklch */ color: oklch(56.1% 0.191 311.0);
Tailwind
colors: {
  custom: {
    50: '#ba81d7',
    500: '#984ac5',
    950: '#000000',
  },
}
SCSS
$custom: #984ac5;
$custom-light: #ba81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#984ac5",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 278.049,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56132,
    "c": 0.19059,
    "h": 311
  },
  "luminance": 0.15604
}

Semantic roles & 50–950 ramp

primary
#984AC5
secondary
#AED09B
accent
#DB4D81
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #984AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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