#984FDC#984FDC

#984FDC is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.3% C 0.208 H 304.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#984FDC
RGBrgb(152, 79, 220)
HSLhsl(271, 67%, 59%)
HSVhsv(271, 64%, 86%)
CMYKcmyk(30.9%, 64.1%, 0%, 13.7%)
CIE-LABlab(48.80, 55.96, -60.51)
CIE-LCHlch(48.80, 82.43, 312.76°)
OKLaboklab(58.3% 0.1179 -0.1716)
OKLCHoklch(58.3% 0.208 304.5)
XYZxyz(28.6603, 17.4348, 69.5516)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FDC #93DC4F
analogous
#514FDC #984FDC #DC4FD9
triadic
#984FDC #DC984F #4FDC98
tetradic
#984FDC #DC514F #93DC4F #4FD9DC
square
#984FDC #DC514F #93DC4F #4FD9DC
split-complementary
#984FDC #D9DC4F #4FDC51
monochromatic
#5A1D93 #7A27C6 #984FDC #B682E6 #D4B5F0

Accessibility & contrast

On white

4.68
#984FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#984FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FDC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FDC#FFFFFF#000000##FFFFFF
##984FDC1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#2674D9
Tritanopia (blue-blind)
#8C6D8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #984fdc;
/* rgb */ color: rgb(152, 79, 220);
/* oklch */ color: oklch(58.3% 0.208 304.5);
Tailwind
colors: {
  custom: {
    50: '#bb85e8',
    500: '#984fdc',
    950: '#000000',
  },
}
SCSS
$custom: #984fdc;
$custom-light: #bb85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#984fdc",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 271.064,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58298,
    "c": 0.20819,
    "h": 304.5
  },
  "luminance": 0.17435
}

Semantic roles & 50–950 ramp

primary
#984FDC
secondary
#C2DFA8
accent
#EA3E91
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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