#984DCD#984DCD

#984DCD is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.0% C 0.195 H 308.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#984DCD
RGBrgb(152, 77, 205)
HSLhsl(275, 56%, 55%)
HSVhsv(275, 62%, 80%)
CMYKcmyk(25.9%, 62.4%, 0%, 19.6%)
CIE-LABlab(47.48, 53.50, -54.06)
CIE-LCHlch(47.48, 76.06, 314.70°)
OKLaboklab(57.04% 0.1211 -0.1526)
OKLCHoklch(57.04% 0.195 308.4)
XYZxyz(26.6200, 16.3913, 59.5073)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DCD #82CD4D
analogous
#584DCD #984DCD #CD4DC2
triadic
#984DCD #CD984D #4DCD98
tetradic
#984DCD #CD584D #82CD4D #4DC2CD
square
#984DCD #CD584D #82CD4D #4DC2CD
split-complementary
#984DCD #C2CD4D #4DCD58
monochromatic
#57237D #7930AC #984DCD #B47DDA #CFADE8

Accessibility & contrast

On white

4.91
#984DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#984DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DCD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DCD#FFFFFF#000000##FFFFFF
##984DCD1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036ED1
Deuteranopia (green-blind)
#3872CA
Tritanopia (blue-blind)
#906786
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984dcd;
/* rgb */ color: rgb(152, 77, 205);
/* oklch */ color: oklch(57.0% 0.195 308.4);
Tailwind
colors: {
  custom: {
    50: '#ba83dd',
    500: '#984dcd',
    950: '#000000',
  },
}
SCSS
$custom: #984dcd;
$custom-light: #ba83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#984dcd",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 275.156,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57038,
    "c": 0.19482,
    "h": 308.4
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#984DCD
secondary
#B6D6A0
accent
#DF4887
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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