#984FC9#984FC9

#984FC9 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.0% C 0.188 H 309.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#984FC9
RGBrgb(152, 79, 201)
HSLhsl(276, 53%, 55%)
HSVhsv(276, 61%, 79%)
CMYKcmyk(24.4%, 60.7%, 0%, 21.2%)
CIE-LABlab(47.60, 51.60, -51.57)
CIE-LCHlch(47.60, 72.95, 315.02°)
OKLaboklab(57.05% 0.1188 -0.1453)
OKLCHoklch(57.05% 0.188 309.3)
XYZxyz(26.2854, 16.4849, 57.0442)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FC9 #80C94F
analogous
#5B4FC9 #984FC9 #C94FBD
triadic
#984FC9 #C9984F #4FC998
tetradic
#984FC9 #C95B4F #80C94F #4FBDC9
square
#984FC9 #C95B4F #80C94F #4FBDC9
split-complementary
#984FC9 #BDC94F #4FC95B
monochromatic
#572579 #7933A7 #984FC9 #B37ED7 #CFADE6

Accessibility & contrast

On white

4.89
#984FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#984FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FC9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FC9#FFFFFF#000000##FFFFFF
##984FC91.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6ECD
Deuteranopia (green-blind)
#3F72C6
Tritanopia (blue-blind)
#916785
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984fc9;
/* rgb */ color: rgb(152, 79, 201);
/* oklch */ color: oklch(57.0% 0.188 309.3);
Tailwind
colors: {
  custom: {
    50: '#ba84da',
    500: '#984fc9',
    950: '#000000',
  },
}
SCSS
$custom: #984fc9;
$custom-light: #ba84da;
$custom-dark: #000000;
JSON
{
  "hex": "#984fc9",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 275.902,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57047,
    "c": 0.18768,
    "h": 309.3
  },
  "luminance": 0.16484
}

Semantic roles & 50–950 ramp

primary
#984FC9
secondary
#B5D4A0
accent
#DC4B86
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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