#984DDD#984DDD

#984DDD is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.212 H 304.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#984DDD
RGBrgb(152, 77, 221)
HSLhsl(271, 68%, 58%)
HSVhsv(271, 65%, 87%)
CMYKcmyk(31.2%, 65.2%, 0%, 13.3%)
CIE-LABlab(48.52, 57.17, -61.55)
CIE-LCHlch(48.52, 84.00, 312.89°)
OKLaboklab(58.11% 0.12 -0.1746)
OKLCHoklch(58.11% 0.212 304.5)
XYZxyz(28.6510, 17.2037, 70.2039)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DDD #92DD4D
analogous
#504DDD #984DDD #DD4DDA
triadic
#984DDD #DD984D #4DDD98
tetradic
#984DDD #DD504D #92DD4D #4DDADD
square
#984DDD #DD504D #92DD4D #4DDADD
split-complementary
#984DDD #DADD4D #4DDD50
monochromatic
#5A1C93 #7A26C7 #984DDD #B680E7 #D3B4F1

Accessibility & contrast

On white

4.73
#984DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#984DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DDD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DDD#FFFFFF#000000##FFFFFF
##984DDD1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#2073DA
Tritanopia (blue-blind)
#8B6C8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984ddd;
/* rgb */ color: rgb(152, 77, 221);
/* oklch */ color: oklch(58.1% 0.212 304.5);
Tailwind
colors: {
  custom: {
    50: '#bb83e8',
    500: '#984ddd',
    950: '#000000',
  },
}
SCSS
$custom: #984ddd;
$custom-light: #bb83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#984ddd",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 271.25,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58112,
    "c": 0.21189,
    "h": 304.5
  },
  "luminance": 0.17204
}

Semantic roles & 50–950 ramp

primary
#984DDD
secondary
#C2DFA6
accent
#EB3D90
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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