#984FC2#984FC2

#984FC2 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.180 H 311.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#984FC2
RGBrgb(152, 79, 194)
HSLhsl(278, 49%, 54%)
HSVhsv(278, 59%, 76%)
CMYKcmyk(21.6%, 59.3%, 0%, 23.9%)
CIE-LABlab(47.19, 50.04, -48.19)
CIE-LCHlch(47.19, 69.47, 316.08°)
OKLaboklab(56.61% 0.1188 -0.1354)
OKLCHoklch(56.61% 0.18 311.3)
XYZxyz(25.4807, 16.1630, 52.8060)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FC2 #79C24F
analogous
#5E4FC2 #984FC2 #C24FB2
triadic
#984FC2 #C2984F #4FC298
tetradic
#984FC2 #C25E4F #79C24F #4FB2C2
square
#984FC2 #C25E4F #79C24F #4FB2C2
split-complementary
#984FC2 #B2C24F #4FC25E
monochromatic
#552770 #78379D #984FC2 #B37CD2 #CDAAE2

Accessibility & contrast

On white

4.96
#984FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#984FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FC2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FC2#FFFFFF#000000##FFFFFF
##984FC21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266CC6
Deuteranopia (green-blind)
#4571BF
Tritanopia (blue-blind)
#936481
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984fc2;
/* rgb */ color: rgb(152, 79, 194);
/* oklch */ color: oklch(56.6% 0.180 311.3);
Tailwind
colors: {
  custom: {
    50: '#b984d5',
    500: '#984fc2',
    950: '#000000',
  },
}
SCSS
$custom: #984fc2;
$custom-light: #b984d5;
$custom-dark: #000000;
JSON
{
  "hex": "#984fc2",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 278.087,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56609,
    "c": 0.18015,
    "h": 311.3
  },
  "luminance": 0.16162
}

Semantic roles & 50–950 ramp

primary
#984FC2
secondary
#B0CF9E
accent
#D85082
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #984FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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