#984CC4#984CC4

#984CC4 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.3% C 0.187 H 311.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#984CC4
RGBrgb(152, 76, 196)
HSLhsl(278, 50%, 53%)
HSVhsv(278, 61%, 77%)
CMYKcmyk(22.4%, 61.2%, 0%, 23.1%)
CIE-LABlab(46.75, 51.98, -50.05)
CIE-LCHlch(46.75, 72.16, 316.09°)
OKLaboklab(56.33% 0.1225 -0.1408)
OKLCHoklch(56.33% 0.187 311)
XYZxyz(25.4953, 15.8304, 53.9264)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CC4 #78C44C
analogous
#5C4CC4 #984CC4 #C44CB4
triadic
#984CC4 #C4984C #4CC498
tetradic
#984CC4 #C45C4C #78C44C #4CB4C4
square
#984CC4 #C45C4C #78C44C #4CB4C4
split-complementary
#984CC4 #B4C44C #4CC45C
monochromatic
#552571 #78349F #984CC4 #B27AD3 #CDA8E2

Accessibility & contrast

On white

5.04
#984CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#984CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CC4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CC4#FFFFFF#000000##FFFFFF
##984CC41.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6BC8
Deuteranopia (green-blind)
#4070C1
Tritanopia (blue-blind)
#936381
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984cc4;
/* rgb */ color: rgb(152, 76, 196);
/* oklch */ color: oklch(56.3% 0.187 311.0);
Tailwind
colors: {
  custom: {
    50: '#ba82d6',
    500: '#984cc4',
    950: '#000000',
  },
}
SCSS
$custom: #984cc4;
$custom-light: #ba82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#984cc4",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 278,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5633,
    "c": 0.18668,
    "h": 311
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#984CC4
secondary
#AFD09C
accent
#DA4E81
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #984CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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