#984FD4#984FD4

#984FD4 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.8% C 0.200 H 306.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#984FD4
RGBrgb(152, 79, 212)
HSLhsl(273, 61%, 57%)
HSVhsv(273, 63%, 83%)
CMYKcmyk(28.3%, 62.7%, 0%, 16.9%)
CIE-LABlab(48.29, 54.11, -56.79)
CIE-LCHlch(48.29, 78.44, 313.62°)
OKLaboklab(57.76% 0.1184 -0.1606)
OKLCHoklch(57.76% 0.2 306.4)
XYZxyz(27.6260, 17.0211, 64.1046)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FD4 #8BD44F
analogous
#554FD4 #984FD4 #D44FCE
triadic
#984FD4 #D4984F #4FD498
tetradic
#984FD4 #D4554F #8BD44F #4FCED4
square
#984FD4 #D4554F #8BD44F #4FCED4
split-complementary
#984FD4 #CED44F #4FD455
monochromatic
#592187 #7A2DB9 #984FD4 #B580E0 #D2B1EC

Accessibility & contrast

On white

4.77
#984FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#984FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FD4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FD4#FFFFFF#000000##FFFFFF
##984FD41.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#3373D1
Tritanopia (blue-blind)
#8E6A8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984fd4;
/* rgb */ color: rgb(152, 79, 212);
/* oklch */ color: oklch(57.8% 0.200 306.4);
Tailwind
colors: {
  custom: {
    50: '#ba84e2',
    500: '#984fd4',
    950: '#000000',
  },
}
SCSS
$custom: #984fd4;
$custom-light: #ba84e2;
$custom-dark: #000000;
JSON
{
  "hex": "#984fd4",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 272.932,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5776,
    "c": 0.19956,
    "h": 306.4
  },
  "luminance": 0.17021
}

Semantic roles & 50–950 ramp

primary
#984FD4
secondary
#BDDAA4
accent
#E4448C
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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