#984BD4#984BD4

#984BD4 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.205 H 306.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#984BD4
RGBrgb(152, 75, 212)
HSLhsl(274, 61%, 56%)
HSVhsv(274, 65%, 83%)
CMYKcmyk(28.3%, 64.6%, 0%, 16.9%)
CIE-LABlab(47.57, 56.06, -57.93)
CIE-LCHlch(47.57, 80.61, 314.06°)
OKLaboklab(57.25% 0.123 -0.164)
OKLCHoklch(57.25% 0.205 306.9)
XYZxyz(27.3461, 16.4613, 64.0113)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BD4 #87D44B
analogous
#544BD4 #984BD4 #D44BCB
triadic
#984BD4 #D4984B #4BD498
tetradic
#984BD4 #D4544B #87D44B #4BCBD4
square
#984BD4 #D4544B #87D44B #4BCBD4
split-complementary
#984BD4 #CBD44B #4BD454
monochromatic
#592085 #7A2CB6 #984BD4 #B47CE0 #D1AEEC

Accessibility & contrast

On white

4.89
#984BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#984BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BD4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BD4#FFFFFF#000000##FFFFFF
##984BD41.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#2D71D1
Tritanopia (blue-blind)
#8E6889
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984bd4;
/* rgb */ color: rgb(152, 75, 212);
/* oklch */ color: oklch(57.2% 0.205 306.9);
Tailwind
colors: {
  custom: {
    50: '#bb82e2',
    500: '#984bd4',
    950: '#000000',
  },
}
SCSS
$custom: #984bd4;
$custom-light: #bb82e2;
$custom-dark: #000000;
JSON
{
  "hex": "#984bd4",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 273.723,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57246,
    "c": 0.20499,
    "h": 306.9
  },
  "luminance": 0.16461
}

Semantic roles & 50–950 ramp

primary
#984BD4
secondary
#BADAA1
accent
#E5438A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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