#984AC2#984AC2

#984AC2 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.9% C 0.187 H 311.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#984AC2
RGBrgb(152, 74, 194)
HSLhsl(279, 50%, 53%)
HSVhsv(279, 62%, 76%)
CMYKcmyk(21.6%, 61.9%, 0%, 23.9%)
CIE-LABlab(46.27, 52.53, -49.66)
CIE-LCHlch(46.27, 72.28, 316.61°)
OKLaboklab(55.94% 0.125 -0.1397)
OKLCHoklch(55.94% 0.187 311.8)
XYZxyz(25.1335, 15.4686, 52.6902)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AC2 #74C24A
analogous
#5C4AC2 #984AC2 #C24AB0
triadic
#984AC2 #C2984A #4AC298
tetradic
#984AC2 #C25C4A #74C24A #4AB0C2
square
#984AC2 #C25C4A #74C24A #4AB0C2
split-complementary
#984AC2 #B0C24A #4AC25C
monochromatic
#54256D #77349B #984AC2 #B278D1 #CCA6E1

Accessibility & contrast

On white

5.13
#984AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#984AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984AC2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984AC2#FFFFFF#000000##FFFFFF
##984AC21.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186AC6
Deuteranopia (green-blind)
#406FBF
Tritanopia (blue-blind)
#93617F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #984ac2;
/* rgb */ color: rgb(152, 74, 194);
/* oklch */ color: oklch(55.9% 0.187 311.8);
Tailwind
colors: {
  custom: {
    50: '#ba81d5',
    500: '#984ac2',
    950: '#000000',
  },
}
SCSS
$custom: #984ac2;
$custom-light: #ba81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#984ac2",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 279,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55942,
    "c": 0.18746,
    "h": 311.8
  },
  "luminance": 0.15468
}

Semantic roles & 50–950 ramp

primary
#984AC2
secondary
#ACCE9A
accent
#D94F7F
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #984AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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