#984CD3#984CD3

#984CD3 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.203 H 307.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#984CD3
RGBrgb(152, 76, 211)
HSLhsl(274, 61%, 56%)
HSVhsv(274, 64%, 83%)
CMYKcmyk(28%, 64%, 0%, 17.3%)
CIE-LABlab(47.69, 55.35, -57.18)
CIE-LCHlch(47.69, 79.58, 314.07°)
OKLaboklab(57.3% 0.1219 -0.1618)
OKLCHoklch(57.3% 0.203 307)
XYZxyz(27.2887, 16.5477, 63.3718)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CD3 #87D34C
analogous
#554CD3 #984CD3 #D34CCA
triadic
#984CD3 #D3984C #4CD398
tetradic
#984CD3 #D3554C #87D34C #4CCAD3
square
#984CD3 #D3554C #87D34C #4CCAD3
split-complementary
#984CD3 #CAD34C #4CD355
monochromatic
#592084 #7A2DB5 #984CD3 #B47DDF #D1AEEB

Accessibility & contrast

On white

4.87
#984CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#984CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CD3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CD3#FFFFFF#000000##FFFFFF
##984CD31.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#3072D0
Tritanopia (blue-blind)
#8E6889
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984cd3;
/* rgb */ color: rgb(152, 76, 211);
/* oklch */ color: oklch(57.3% 0.203 307.0);
Tailwind
colors: {
  custom: {
    50: '#ba83e1',
    500: '#984cd3',
    950: '#000000',
  },
}
SCSS
$custom: #984cd3;
$custom-light: #ba83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#984cd3",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 273.778,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57305,
    "c": 0.20258,
    "h": 307
  },
  "luminance": 0.16547
}

Semantic roles & 50–950 ramp

primary
#984CD3
secondary
#BAD9A2
accent
#E4448A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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