#984FC0#984FC0

#984FC0 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.178 H 311.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#984FC0
RGBrgb(152, 79, 192)
HSLhsl(279, 47%, 53%)
HSVhsv(279, 59%, 75%)
CMYKcmyk(20.8%, 58.9%, 0%, 24.7%)
CIE-LABlab(47.07, 49.60, -47.22)
CIE-LCHlch(47.07, 68.48, 316.41°)
OKLaboklab(56.49% 0.1188 -0.1326)
OKLCHoklch(56.49% 0.178 311.9)
XYZxyz(25.2576, 16.0737, 51.6310)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FC0 #77C04F
analogous
#5F4FC0 #984FC0 #C04FAF
triadic
#984FC0 #C0984F #4FC098
tetradic
#984FC0 #C05F4F #77C04F #4FAFC0
square
#984FC0 #C05F4F #77C04F #4FAFC0
split-complementary
#984FC0 #AFC04F #4FC05F
monochromatic
#55276D #77379A #984FC0 #B27CD0 #CDA9E0

Accessibility & contrast

On white

4.98
#984FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#984FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FC0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FC0#FFFFFF#000000##FFFFFF
##984FC01.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296CC4
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#946380
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984fc0;
/* rgb */ color: rgb(152, 79, 192);
/* oklch */ color: oklch(56.5% 0.178 311.9);
Tailwind
colors: {
  custom: {
    50: '#b984d3',
    500: '#984fc0',
    950: '#000000',
  },
}
SCSS
$custom: #984fc0;
$custom-light: #b984d3;
$custom-dark: #000000;
JSON
{
  "hex": "#984fc0",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 278.761,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56487,
    "c": 0.17799,
    "h": 311.9
  },
  "luminance": 0.16073
}

Semantic roles & 50–950 ramp

primary
#984FC0
secondary
#AECE9D
accent
#D75180
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #984FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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