#984FD6#984FD6

#984FD6 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.202 H 305.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#984FD6
RGBrgb(152, 79, 214)
HSLhsl(272, 62%, 57%)
HSVhsv(272, 63%, 84%)
CMYKcmyk(29%, 63.1%, 0%, 16.1%)
CIE-LABlab(48.41, 54.57, -57.72)
CIE-LCHlch(48.41, 79.43, 313.39°)
OKLaboklab(57.89% 0.1183 -0.1634)
OKLCHoklch(57.89% 0.202 305.9)
XYZxyz(27.8799, 17.1226, 65.4415)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FD6 #8DD64F
analogous
#544FD6 #984FD6 #D64FD1
triadic
#984FD6 #D6984F #4FD698
tetradic
#984FD6 #D6544F #8DD64F #4FD1D6
square
#984FD6 #D6544F #8DD64F #4FD1D6
split-complementary
#984FD6 #D1D64F #4FD654
monochromatic
#5A208A #7A2CBC #984FD6 #B581E2 #D2B2ED

Accessibility & contrast

On white

4.75
#984FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#984FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FD6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FD6#FFFFFF#000000##FFFFFF
##984FD61.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DA
Deuteranopia (green-blind)
#3073D3
Tritanopia (blue-blind)
#8D6B8B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984fd6;
/* rgb */ color: rgb(152, 79, 214);
/* oklch */ color: oklch(57.9% 0.202 305.9);
Tailwind
colors: {
  custom: {
    50: '#ba84e3',
    500: '#984fd6',
    950: '#000000',
  },
}
SCSS
$custom: #984fd6;
$custom-light: #ba84e3;
$custom-dark: #000000;
JSON
{
  "hex": "#984fd6",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 272.444,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57893,
    "c": 0.20172,
    "h": 305.9
  },
  "luminance": 0.17122
}

Semantic roles & 50–950 ramp

primary
#984FD6
secondary
#BEDCA5
accent
#E5438D
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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