#984AC8#984AC8

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

Color values

HEX#984AC8
RGBrgb(152, 74, 200)
HSLhsl(277, 53%, 54%)
HSVhsv(277, 63%, 78%)
CMYKcmyk(24%, 63%, 0%, 21.6%)
CIE-LABlab(46.64, 53.84, -52.54)
CIE-LCHlch(46.64, 75.23, 315.70°)
OKLaboklab(56.33% 0.1248 -0.1482)
OKLCHoklch(56.33% 0.194 310.1)
XYZxyz(25.8210, 15.7436, 56.3110)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AC8 #7AC84A
analogous
#594AC8 #984AC8 #C84AB9
triadic
#984AC8 #C8984A #4AC898
tetradic
#984AC8 #C8594A #7AC84A #4AB9C8
square
#984AC8 #C8594A #7AC84A #4AB9C8
split-complementary
#984AC8 #B9C84A #4AC859
monochromatic
#552374 #7832A3 #984AC8 #B379D6 #CDA8E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##984AC8#FFFFFF#000000##FFFFFF
##984AC81.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)
#056BCC
Deuteranopia (green-blind)
#3A70C5
Tritanopia (blue-blind)
#926382
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #984ac8;
/* rgb */ color: rgb(152, 74, 200);
/* oklch */ color: oklch(56.3% 0.194 310.1);
Tailwind
colors: {
  custom: {
    50: '#ba81d9',
    500: '#984ac8',
    950: '#000000',
  },
}
SCSS
$custom: #984ac8;
$custom-light: #ba81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#984ac8",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 277.143,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.19374,
    "h": 310.1
  },
  "luminance": 0.15743
}

Semantic roles & 50–950 ramp

primary
#984AC8
secondary
#B0D29C
accent
#DD4B83
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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