#984DD4#984DD4

#984DD4 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.202 H 306.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#984DD4
RGBrgb(152, 77, 212)
HSLhsl(273, 61%, 57%)
HSVhsv(273, 64%, 83%)
CMYKcmyk(28.3%, 63.7%, 0%, 16.9%)
CIE-LABlab(47.93, 55.09, -57.37)
CIE-LCHlch(47.93, 79.53, 313.84°)
OKLaboklab(57.5% 0.1207 -0.1623)
OKLCHoklch(57.5% 0.202 306.6)
XYZxyz(27.4839, 16.7369, 64.0573)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DD4 #89D44D
analogous
#554DD4 #984DD4 #D44DCD
triadic
#984DD4 #D4984D #4DD498
tetradic
#984DD4 #D4554D #89D44D #4DCDD4
square
#984DD4 #D4554D #89D44D #4DCDD4
split-complementary
#984DD4 #CDD44D #4DD455
monochromatic
#592086 #7A2CB7 #984DD4 #B57EE0 #D1B0EC

Accessibility & contrast

On white

4.83
#984DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#984DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DD4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DD4#FFFFFF#000000##FFFFFF
##984DD41.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#3072D1
Tritanopia (blue-blind)
#8E698A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #984dd4;
/* rgb */ color: rgb(152, 77, 212);
/* oklch */ color: oklch(57.5% 0.202 306.6);
Tailwind
colors: {
  custom: {
    50: '#ba83e2',
    500: '#984dd4',
    950: '#000000',
  },
}
SCSS
$custom: #984dd4;
$custom-light: #ba83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#984dd4",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 273.333,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.575,
    "c": 0.2023,
    "h": 306.6
  },
  "luminance": 0.16737
}

Semantic roles & 50–950 ramp

primary
#984DD4
secondary
#BBDAA3
accent
#E4448B
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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