#984CC7#984CC7

#984CC7 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.5% C 0.190 H 310.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#984CC7
RGBrgb(152, 76, 199)
HSLhsl(277, 52%, 54%)
HSVhsv(277, 62%, 78%)
CMYKcmyk(23.6%, 61.8%, 0%, 22%)
CIE-LABlab(46.93, 52.65, -51.49)
CIE-LCHlch(46.93, 73.64, 315.64°)
OKLaboklab(56.52% 0.1225 -0.1451)
OKLCHoklch(56.52% 0.19 310.2)
XYZxyz(25.8402, 15.9683, 55.7427)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CC7 #7BC74C
analogous
#5B4CC7 #984CC7 #C74CB9
triadic
#984CC7 #C7984C #4CC798
tetradic
#984CC7 #C75B4C #7BC74C #4CB9C7
square
#984CC7 #C75B4C #7BC74C #4CB9C7
split-complementary
#984CC7 #B9C74C #4CC75B
monochromatic
#562474 #7833A3 #984CC7 #B37BD6 #CEA9E4

Accessibility & contrast

On white

5.01
#984CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#984CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CC7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CC7#FFFFFF#000000##FFFFFF
##984CC71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146CCB
Deuteranopia (green-blind)
#3D71C4
Tritanopia (blue-blind)
#926482
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984cc7;
/* rgb */ color: rgb(152, 76, 199);
/* oklch */ color: oklch(56.5% 0.190 310.2);
Tailwind
colors: {
  custom: {
    50: '#ba82d9',
    500: '#984cc7',
    950: '#000000',
  },
}
SCSS
$custom: #984cc7;
$custom-light: #ba82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#984cc7",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 277.073,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5652,
    "c": 0.18986,
    "h": 310.2
  },
  "luminance": 0.15968
}

Semantic roles & 50–950 ramp

primary
#984CC7
secondary
#B1D29D
accent
#DC4C83
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #984CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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