#984ACC#984ACC

#984ACC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.6% C 0.198 H 309.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#984ACC
RGBrgb(152, 74, 204)
HSLhsl(276, 56%, 55%)
HSVhsv(276, 64%, 80%)
CMYKcmyk(25.5%, 63.7%, 0%, 20%)
CIE-LABlab(46.89, 54.73, -54.45)
CIE-LCHlch(46.89, 77.20, 315.15°)
OKLaboklab(56.59% 0.1247 -0.1537)
OKLCHoklch(56.59% 0.198 309)
XYZxyz(26.2946, 15.9330, 58.8052)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984ACC #7ECC4A
analogous
#574ACC #984ACC #CC4ABF
triadic
#984ACC #CC984A #4ACC98
tetradic
#984ACC #CC574A #7ECC4A #4ABFCC
square
#984ACC #CC574A #7ECC4A #4ABFCC
split-complementary
#984ACC #BFCC4A #4ACC57
monochromatic
#572279 #7930A9 #984ACC #B37AD9 #CEA9E7

Accessibility & contrast

On white

5.02
#984ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#984ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984ACC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984ACC#FFFFFF#000000##FFFFFF
##984ACC1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#3670C9
Tritanopia (blue-blind)
#906484
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984acc;
/* rgb */ color: rgb(152, 74, 204);
/* oklch */ color: oklch(56.6% 0.198 309.0);
Tailwind
colors: {
  custom: {
    50: '#ba81dc',
    500: '#984acc',
    950: '#000000',
  },
}
SCSS
$custom: #984acc;
$custom-light: #ba81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#984acc",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 276,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56586,
    "c": 0.19793,
    "h": 309
  },
  "luminance": 0.15933
}

Semantic roles & 50–950 ramp

primary
#984ACC
secondary
#B3D49D
accent
#DF4885
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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