#984DD2#984DD2

#984DD2 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.200 H 307.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#984DD2
RGBrgb(152, 77, 210)
HSLhsl(274, 60%, 56%)
HSVhsv(274, 63%, 82%)
CMYKcmyk(27.6%, 63.3%, 0%, 17.6%)
CIE-LABlab(47.80, 54.63, -56.43)
CIE-LCHlch(47.80, 78.54, 314.07°)
OKLaboklab(57.37% 0.1208 -0.1596)
OKLCHoklch(57.37% 0.2 307.1)
XYZxyz(27.2332, 16.6366, 62.7368)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DD2 #87D24D
analogous
#564DD2 #984DD2 #D24DC9
triadic
#984DD2 #D2984D #4DD298
tetradic
#984DD2 #D2564D #87D24D #4DC9D2
square
#984DD2 #D2564D #87D24D #4DC9D2
split-complementary
#984DD2 #C9D24D #4DD256
monochromatic
#592183 #7A2EB4 #984DD2 #B47EDE #D1AFEB

Accessibility & contrast

On white

4.85
#984DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #984DD2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DD2#FFFFFF#000000##FFFFFF
##984DD21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#3272CF
Tritanopia (blue-blind)
#8F6889
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984dd2;
/* rgb */ color: rgb(152, 77, 210);
/* oklch */ color: oklch(57.4% 0.200 307.1);
Tailwind
colors: {
  custom: {
    50: '#ba83e0',
    500: '#984dd2',
    950: '#000000',
  },
}
SCSS
$custom: #984dd2;
$custom-light: #ba83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#984dd2",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 273.835,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57367,
    "c": 0.20016,
    "h": 307.1
  },
  "luminance": 0.16636
}

Semantic roles & 50–950 ramp

primary
#984DD2
secondary
#BAD9A2
accent
#E3458A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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