#984DCC#984DCC

#984DCC is a mid, vivid violet. Relative luminance 0.163; OKLCH L 57.0% C 0.194 H 308.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#984DCC
RGBrgb(152, 77, 204)
HSLhsl(275, 55%, 55%)
HSVhsv(275, 62%, 80%)
CMYKcmyk(25.5%, 62.3%, 0%, 20%)
CIE-LABlab(47.42, 53.27, -53.59)
CIE-LCHlch(47.42, 75.56, 314.83°)
OKLaboklab(56.97% 0.1211 -0.1512)
OKLCHoklch(56.97% 0.194 308.7)
XYZxyz(26.4997, 16.3432, 58.8736)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DCC #81CC4D
analogous
#584DCC #984DCC #CC4DC1
triadic
#984DCC #CC984D #4DCC98
tetradic
#984DCC #CC584D #81CC4D #4DC1CC
square
#984DCC #CC584D #81CC4D #4DC1CC
split-complementary
#984DCC #C1CC4D #4DCC58
monochromatic
#57237B #7931AB #984DCC #B47DDA #CFACE7

Accessibility & contrast

On white

4.92
#984DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#984DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DCC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DCC#FFFFFF#000000##FFFFFF
##984DCC1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076DD0
Deuteranopia (green-blind)
#3971C9
Tritanopia (blue-blind)
#906685
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984dcc;
/* rgb */ color: rgb(152, 77, 204);
/* oklch */ color: oklch(57.0% 0.194 308.7);
Tailwind
colors: {
  custom: {
    50: '#ba83dc',
    500: '#984dcc',
    950: '#000000',
  },
}
SCSS
$custom: #984dcc;
$custom-light: #ba83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#984dcc",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 275.433,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56973,
    "c": 0.19376,
    "h": 308.7
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#984DCC
secondary
#B6D5A0
accent
#DF4986
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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