#984FC7#984FC7

#984FC7 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.9% C 0.186 H 309.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#984FC7
RGBrgb(152, 79, 199)
HSLhsl(277, 52%, 55%)
HSVhsv(277, 60%, 78%)
CMYKcmyk(23.6%, 60.3%, 0%, 22%)
CIE-LABlab(47.48, 51.15, -50.61)
CIE-LCHlch(47.48, 71.96, 315.31°)
OKLaboklab(56.92% 0.1188 -0.1425)
OKLCHoklch(56.92% 0.186 309.8)
XYZxyz(26.0517, 16.3914, 55.8132)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FC7 #7EC74F
analogous
#5C4FC7 #984FC7 #C74FBA
triadic
#984FC7 #C7984F #4FC798
tetradic
#984FC7 #C75C4F #7EC74F #4FBAC7
square
#984FC7 #C75C4F #7EC74F #4FBAC7
split-complementary
#984FC7 #BAC74F #4FC75C
monochromatic
#572676 #7934A4 #984FC7 #B37DD6 #CEACE5

Accessibility & contrast

On white

4.91
#984FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#984FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FC7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FC7#FFFFFF#000000##FFFFFF
##984FC71.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6DCB
Deuteranopia (green-blind)
#4172C4
Tritanopia (blue-blind)
#926684
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984fc7;
/* rgb */ color: rgb(152, 79, 199);
/* oklch */ color: oklch(56.9% 0.186 309.8);
Tailwind
colors: {
  custom: {
    50: '#ba84d9',
    500: '#984fc7',
    950: '#000000',
  },
}
SCSS
$custom: #984fc7;
$custom-light: #ba84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#984fc7",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 276.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5692,
    "c": 0.18553,
    "h": 309.8
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#984FC7
secondary
#B3D2A0
accent
#DB4D84
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #984FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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