#984FCA#984FCA

#984FCA is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.1% C 0.189 H 309.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#984FCA
RGBrgb(152, 79, 202)
HSLhsl(276, 54%, 55%)
HSVhsv(276, 61%, 79%)
CMYKcmyk(24.8%, 60.9%, 0%, 20.8%)
CIE-LABlab(47.66, 51.83, -52.05)
CIE-LCHlch(47.66, 73.45, 314.88°)
OKLaboklab(57.11% 0.1188 -0.1467)
OKLCHoklch(57.11% 0.189 309)
XYZxyz(26.4034, 16.5321, 57.6657)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FCA #81CA4F
analogous
#5B4FCA #984FCA #CA4FBE
triadic
#984FCA #CA984F #4FCA98
tetradic
#984FCA #CA5B4F #81CA4F #4FBECA
square
#984FCA #CA5B4F #81CA4F #4FBECA
split-complementary
#984FCA #BECA4F #4FCA5B
monochromatic
#57257A #7933A9 #984FCA #B47ED8 #CFADE6

Accessibility & contrast

On white

4.88
#984FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#984FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FCA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FCA#FFFFFF#000000##FFFFFF
##984FCA1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186ECE
Deuteranopia (green-blind)
#3E72C7
Tritanopia (blue-blind)
#916785
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984fca;
/* rgb */ color: rgb(152, 79, 202);
/* oklch */ color: oklch(57.1% 0.189 309.0);
Tailwind
colors: {
  custom: {
    50: '#ba84db',
    500: '#984fca',
    950: '#000000',
  },
}
SCSS
$custom: #984fca;
$custom-light: #ba84db;
$custom-dark: #000000;
JSON
{
  "hex": "#984fca",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 275.61,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5711,
    "c": 0.18877,
    "h": 309
  },
  "luminance": 0.16532
}

Semantic roles & 50–950 ramp

primary
#984FCA
secondary
#B6D4A1
accent
#DD4B86
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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