#984DDF#984DDF

#984DDF is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.214 H 304.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#984DDF
RGBrgb(152, 77, 223)
HSLhsl(271, 70%, 59%)
HSVhsv(271, 65%, 87%)
CMYKcmyk(31.8%, 65.5%, 0%, 12.5%)
CIE-LABlab(48.65, 57.63, -62.47)
CIE-LCHlch(48.65, 84.99, 312.69°)
OKLaboklab(58.25% 0.1198 -0.1773)
OKLCHoklch(58.25% 0.214 304.1)
XYZxyz(28.9190, 17.3110, 71.6156)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DDF #94DF4D
analogous
#4F4DDF #984DDF #DF4DDD
triadic
#984DDF #DF984D #4DDF98
tetradic
#984DDF #DF4F4D #94DF4D #4DDDDF
square
#984DDF #DF4F4D #94DF4D #4DDDDF
split-complementary
#984DDF #DDDF4D #4DDF4F
monochromatic
#5A1B97 #7A24CA #984DDF #B681E8 #D4B5F2

Accessibility & contrast

On white

4.71
#984DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#984DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DDF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DDF#FFFFFF#000000##FFFFFF
##984DDF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#1B73DC
Tritanopia (blue-blind)
#8B6D90
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #984ddf;
/* rgb */ color: rgb(152, 77, 223);
/* oklch */ color: oklch(58.3% 0.214 304.1);
Tailwind
colors: {
  custom: {
    50: '#bb83ea',
    500: '#984ddf',
    950: '#000000',
  },
}
SCSS
$custom: #984ddf;
$custom-light: #bb83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#984ddf",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 270.822,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5825,
    "c": 0.21402,
    "h": 304.1
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#984DDF
secondary
#C3E1A7
accent
#EC3B91
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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