#984CD1#984CD1

#984CD1 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.200 H 307.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#984CD1
RGBrgb(152, 76, 209)
HSLhsl(274, 59%, 56%)
HSVhsv(274, 64%, 82%)
CMYKcmyk(27.3%, 63.6%, 0%, 18%)
CIE-LABlab(47.56, 54.89, -56.24)
CIE-LCHlch(47.56, 78.59, 314.30°)
OKLaboklab(57.17% 0.1221 -0.159)
OKLCHoklch(57.17% 0.2 307.5)
XYZxyz(27.0396, 16.4481, 62.0596)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CD1 #85D14C
analogous
#554CD1 #984CD1 #D14CC7
triadic
#984CD1 #D1984C #4CD198
tetradic
#984CD1 #D1554C #85D14C #4CC7D1
square
#984CD1 #D1554C #85D14C #4CC7D1
split-complementary
#984CD1 #C7D14C #4CD155
monochromatic
#582181 #792EB2 #984CD1 #B47DDE #D0ADEA

Accessibility & contrast

On white

4.90
#984CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#984CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CD1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CD1#FFFFFF#000000##FFFFFF
##984CD11.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#3272CE
Tritanopia (blue-blind)
#8F6788
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984cd1;
/* rgb */ color: rgb(152, 76, 209);
/* oklch */ color: oklch(57.2% 0.200 307.5);
Tailwind
colors: {
  custom: {
    50: '#ba82e0',
    500: '#984cd1',
    950: '#000000',
  },
}
SCSS
$custom: #984cd1;
$custom-light: #ba82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#984cd1",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 274.286,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57172,
    "c": 0.20046,
    "h": 307.5
  },
  "luminance": 0.16448
}

Semantic roles & 50–950 ramp

primary
#984CD1
secondary
#B8D8A1
accent
#E24689
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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