#984CD4#984CD4

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

Color values

HEX#984CD4
RGBrgb(152, 76, 212)
HSLhsl(274, 61%, 56%)
HSVhsv(274, 64%, 83%)
CMYKcmyk(28.3%, 64.2%, 0%, 16.9%)
CIE-LABlab(47.75, 55.58, -57.65)
CIE-LCHlch(47.75, 80.08, 313.95°)
OKLaboklab(57.37% 0.1219 -0.1632)
OKLCHoklch(57.37% 0.204 306.8)
XYZxyz(27.4145, 16.5980, 64.0341)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CD4 #88D44C
analogous
#544CD4 #984CD4 #D44CCC
triadic
#984CD4 #D4984C #4CD498
tetradic
#984CD4 #D4544C #88D44C #4CCCD4
square
#984CD4 #D4544C #88D44C #4CCCD4
split-complementary
#984CD4 #CCD44C #4CD454
monochromatic
#592086 #7A2CB7 #984CD4 #B47DE0 #D1AFEC

Accessibility & contrast

On white

4.86
#984CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#984CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CD4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CD4#FFFFFF#000000##FFFFFF
##984CD41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #984cd4;
/* rgb */ color: rgb(152, 76, 212);
/* oklch */ color: oklch(57.4% 0.204 306.8);
Tailwind
colors: {
  custom: {
    50: '#ba83e2',
    500: '#984cd4',
    950: '#000000',
  },
}
SCSS
$custom: #984cd4;
$custom-light: #ba83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#984cd4",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 273.529,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57372,
    "c": 0.20365,
    "h": 306.8
  },
  "luminance": 0.16598
}

Semantic roles & 50–950 ramp

primary
#984CD4
secondary
#BBDAA2
accent
#E4438A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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