#984AD4#984AD4

#984AD4 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.206 H 307.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#984AD4
RGBrgb(152, 74, 212)
HSLhsl(274, 62%, 56%)
HSVhsv(274, 65%, 83%)
CMYKcmyk(28.3%, 65.1%, 0%, 16.9%)
CIE-LABlab(47.40, 56.53, -58.21)
CIE-LCHlch(47.40, 81.15, 314.16°)
OKLaboklab(57.12% 0.1241 -0.1648)
OKLCHoklch(57.12% 0.206 307)
XYZxyz(27.2788, 16.3267, 63.9889)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AD4 #86D44A
analogous
#534AD4 #984AD4 #D44ACB
triadic
#984AD4 #D4984A #4AD498
tetradic
#984AD4 #D4534A #86D44A #4ACBD4
square
#984AD4 #D4534A #86D44A #4ACBD4
split-complementary
#984AD4 #CBD44A #4AD453
monochromatic
#581F84 #792BB6 #984AD4 #B47BE0 #D0ADEB

Accessibility & contrast

On white

4.92
#984AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#984AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984AD4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984AD4#FFFFFF#000000##FFFFFF
##984AD41.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#2B71D1
Tritanopia (blue-blind)
#8E6789
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984ad4;
/* rgb */ color: rgb(152, 74, 212);
/* oklch */ color: oklch(57.1% 0.206 307.0);
Tailwind
colors: {
  custom: {
    50: '#bb81e2',
    500: '#984ad4',
    950: '#000000',
  },
}
SCSS
$custom: #984ad4;
$custom-light: #bb81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#984ad4",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 212
  },
  "hsl": {
    "h": 273.913,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5712,
    "c": 0.20631,
    "h": 307
  },
  "luminance": 0.16326
}

Semantic roles & 50–950 ramp

primary
#984AD4
secondary
#B9D9A0
accent
#E54389
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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