#984FCC#984FCC

#984FCC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.2% C 0.191 H 308.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#984FCC
RGBrgb(152, 79, 204)
HSLhsl(275, 55%, 55%)
HSVhsv(275, 61%, 80%)
CMYKcmyk(25.5%, 61.3%, 0%, 20%)
CIE-LABlab(47.79, 52.28, -53.00)
CIE-LCHlch(47.79, 74.45, 314.61°)
OKLaboklab(57.24% 0.1187 -0.1495)
OKLCHoklch(57.24% 0.191 308.4)
XYZxyz(26.6418, 16.6274, 58.9210)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FCC #83CC4F
analogous
#594FCC #984FCC #CC4FC1
triadic
#984FCC #CC984F #4FCC98
tetradic
#984FCC #CC594F #83CC4F #4FC1CC
square
#984FCC #CC594F #83CC4F #4FC1CC
split-complementary
#984FCC #C1CC4F #4FCC59
monochromatic
#58247D #7932AC #984FCC #B47EDA #D0AEE7

Accessibility & contrast

On white

4.86
#984FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#984FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FCC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FCC#FFFFFF#000000##FFFFFF
##984FCC1.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136ED0
Deuteranopia (green-blind)
#3C72C9
Tritanopia (blue-blind)
#906886
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984fcc;
/* rgb */ color: rgb(152, 79, 204);
/* oklch */ color: oklch(57.2% 0.191 308.4);
Tailwind
colors: {
  custom: {
    50: '#ba84dc',
    500: '#984fcc',
    950: '#000000',
  },
}
SCSS
$custom: #984fcc;
$custom-light: #ba84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#984fcc",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 275.04,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57238,
    "c": 0.19093,
    "h": 308.4
  },
  "luminance": 0.16627
}

Semantic roles & 50–950 ramp

primary
#984FCC
secondary
#B7D5A1
accent
#DE4987
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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