#984DC9#984DC9

#984DC9 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.191 H 309.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#984DC9
RGBrgb(152, 77, 201)
HSLhsl(276, 53%, 55%)
HSVhsv(276, 62%, 79%)
CMYKcmyk(24.4%, 61.7%, 0%, 21.2%)
CIE-LABlab(47.24, 52.60, -52.16)
CIE-LCHlch(47.24, 74.07, 315.24°)
OKLaboklab(56.78% 0.1212 -0.147)
OKLCHoklch(56.78% 0.191 309.5)
XYZxyz(26.1433, 16.2007, 56.9968)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DC9 #7EC94D
analogous
#5A4DC9 #984DC9 #C94DBC
triadic
#984DC9 #C9984D #4DC998
tetradic
#984DC9 #C95A4D #7EC94D #4DBCC9
square
#984DC9 #C95A4D #7EC94D #4DBCC9
split-complementary
#984DC9 #BCC94D #4DC95A
monochromatic
#572477 #7932A6 #984DC9 #B37CD7 #CEABE5

Accessibility & contrast

On white

4.95
#984DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#984DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DC9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DC9#FFFFFF#000000##FFFFFF
##984DC91.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126DCD
Deuteranopia (green-blind)
#3D71C6
Tritanopia (blue-blind)
#916584
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984dc9;
/* rgb */ color: rgb(152, 77, 201);
/* oklch */ color: oklch(56.8% 0.191 309.5);
Tailwind
colors: {
  custom: {
    50: '#ba83da',
    500: '#984dc9',
    950: '#000000',
  },
}
SCSS
$custom: #984dc9;
$custom-light: #ba83da;
$custom-dark: #000000;
JSON
{
  "hex": "#984dc9",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 276.29,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5678,
    "c": 0.19056,
    "h": 309.5
  },
  "luminance": 0.162
}

Semantic roles & 50–950 ramp

primary
#984DC9
secondary
#B3D39F
accent
#DD4B85
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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