#984CC3#984CC3

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

Color values

HEX#984CC3
RGBrgb(152, 76, 195)
HSLhsl(278, 50%, 53%)
HSVhsv(278, 61%, 76%)
CMYKcmyk(22.1%, 61%, 0%, 23.5%)
CIE-LABlab(46.69, 51.76, -49.56)
CIE-LCHlch(46.69, 71.66, 316.24°)
OKLaboklab(56.27% 0.1225 -0.1394)
OKLCHoklch(56.27% 0.186 311.3)
XYZxyz(25.3818, 15.7850, 53.3289)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CC3 #77C34C
analogous
#5C4CC3 #984CC3 #C34CB3
triadic
#984CC3 #C3984C #4CC398
tetradic
#984CC3 #C35C4C #77C34C #4CB3C3
square
#984CC3 #C35C4C #77C34C #4CB3C3
split-complementary
#984CC3 #B3C34C #4CC35C
monochromatic
#55256F #77359D #984CC3 #B27AD2 #CDA8E2

Accessibility & contrast

On white

5.05
#984CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#984CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CC3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CC3#FFFFFF#000000##FFFFFF
##984CC31.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6BC7
Deuteranopia (green-blind)
#4170C0
Tritanopia (blue-blind)
#936280
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984cc3;
/* rgb */ color: rgb(152, 76, 195);
/* oklch */ color: oklch(56.3% 0.186 311.3);
Tailwind
colors: {
  custom: {
    50: '#ba82d6',
    500: '#984cc3',
    950: '#000000',
  },
}
SCSS
$custom: #984cc3;
$custom-light: #ba82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#984cc3",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 278.319,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56267,
    "c": 0.18563,
    "h": 311.3
  },
  "luminance": 0.15784
}

Semantic roles & 50–950 ramp

primary
#984CC3
secondary
#AECF9C
accent
#D94E81
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #984CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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