#984FD2#984FD2

#984FD2 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.6% C 0.197 H 306.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#984FD2
RGBrgb(152, 79, 210)
HSLhsl(273, 59%, 57%)
HSVhsv(273, 62%, 82%)
CMYKcmyk(27.6%, 62.4%, 0%, 17.6%)
CIE-LABlab(48.16, 53.65, -55.85)
CIE-LCHlch(48.16, 77.44, 313.85°)
OKLaboklab(57.63% 0.1185 -0.1579)
OKLCHoklch(57.63% 0.197 306.9)
XYZxyz(27.3753, 16.9208, 62.7842)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FD2 #89D24F
analogous
#574FD2 #984FD2 #D24FCB
triadic
#984FD2 #D2984F #4FD298
tetradic
#984FD2 #D2574F #89D24F #4FCBD2
square
#984FD2 #D2574F #89D24F #4FCBD2
split-complementary
#984FD2 #CBD24F #4FD257
monochromatic
#592285 #7A2EB5 #984FD2 #B580DE #D1B0EB

Accessibility & contrast

On white

4.79
#984FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#984FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FD2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FD2#FFFFFF#000000##FFFFFF
##984FD21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#3573CF
Tritanopia (blue-blind)
#8F6A89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #984fd2;
/* rgb */ color: rgb(152, 79, 210);
/* oklch */ color: oklch(57.6% 0.197 306.9);
Tailwind
colors: {
  custom: {
    50: '#ba84e0',
    500: '#984fd2',
    950: '#000000',
  },
}
SCSS
$custom: #984fd2;
$custom-light: #ba84e0;
$custom-dark: #000000;
JSON
{
  "hex": "#984fd2",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 273.435,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57628,
    "c": 0.1974,
    "h": 306.9
  },
  "luminance": 0.16921
}

Semantic roles & 50–950 ramp

primary
#984FD2
secondary
#BBD9A4
accent
#E2458B
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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