#984DDC#984DDC

#984DDC is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.211 H 304.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#984DDC
RGBrgb(152, 77, 220)
HSLhsl(271, 67%, 58%)
HSVhsv(271, 65%, 86%)
CMYKcmyk(30.9%, 65%, 0%, 13.7%)
CIE-LABlab(48.45, 56.93, -61.09)
CIE-LCHlch(48.45, 83.50, 312.99°)
OKLaboklab(58.04% 0.1201 -0.1733)
OKLCHoklch(58.04% 0.211 304.7)
XYZxyz(28.5182, 17.1506, 69.5043)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DDC #91DC4D
analogous
#514DDC #984DDC #DC4DD8
triadic
#984DDC #DC984D #4DDC98
tetradic
#984DDC #DC514D #91DC4D #4DD8DC
square
#984DDC #DC514D #91DC4D #4DD8DC
split-complementary
#984DDC #D8DC4D #4DDC51
monochromatic
#5A1D92 #7A27C5 #984DDC #B680E6 #D3B3F0

Accessibility & contrast

On white

4.74
#984DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#984DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DDC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DDC#FFFFFF#000000##FFFFFF
##984DDC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#2273D9
Tritanopia (blue-blind)
#8C6C8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984ddc;
/* rgb */ color: rgb(152, 77, 220);
/* oklch */ color: oklch(58.0% 0.211 304.7);
Tailwind
colors: {
  custom: {
    50: '#bb83e8',
    500: '#984ddc',
    950: '#000000',
  },
}
SCSS
$custom: #984ddc;
$custom-light: #bb83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#984ddc",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 271.469,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58043,
    "c": 0.21083,
    "h": 304.7
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#984DDC
secondary
#C1DFA6
accent
#EA3E90
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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