#984CDF#984CDF

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

Color values

HEX#984CDF
RGBrgb(152, 76, 223)
HSLhsl(271, 70%, 59%)
HSVhsv(271, 66%, 87%)
CMYKcmyk(31.8%, 65.9%, 0%, 12.5%)
CIE-LABlab(48.48, 58.11, -62.75)
CIE-LCHlch(48.48, 85.52, 312.80°)
OKLaboklab(58.13% 0.1209 -0.1781)
OKLCHoklch(58.13% 0.215 304.2)
XYZxyz(28.8496, 17.1721, 71.5924)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CDF #93DF4C
analogous
#4E4CDF #984CDF #DF4CDD
triadic
#984CDF #DF984C #4CDF98
tetradic
#984CDF #DF4E4C #93DF4C #4CDDDF
square
#984CDF #DF4E4C #93DF4C #4CDDDF
split-complementary
#984CDF #DDDF4C #4CDF4E
monochromatic
#5A1B96 #7A24CA #984CDF #B680E8 #D4B4F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##984CDF#FFFFFF#000000##FFFFFF
##984CDF1.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)
#0071E3
Deuteranopia (green-blind)
#1873DC
Tritanopia (blue-blind)
#8B6D8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984cdf;
/* rgb */ color: rgb(152, 76, 223);
/* oklch */ color: oklch(58.1% 0.215 304.2);
Tailwind
colors: {
  custom: {
    50: '#bb83ea',
    500: '#984cdf',
    950: '#000000',
  },
}
SCSS
$custom: #984cdf;
$custom-light: #bb83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#984cdf",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 271.02,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58126,
    "c": 0.2153,
    "h": 304.2
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#984CDF
secondary
#C2E0A6
accent
#EC3B91
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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