#984FDF#984FDF

#984FDF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.211 H 303.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#984FDF
RGBrgb(152, 79, 223)
HSLhsl(270, 69%, 59%)
HSVhsv(270, 65%, 87%)
CMYKcmyk(31.8%, 64.6%, 0%, 12.5%)
CIE-LABlab(49.00, 56.67, -61.90)
CIE-LCHlch(49.00, 83.92, 312.47°)
OKLaboklab(58.5% 0.1177 -0.1756)
OKLCHoklch(58.5% 0.211 303.8)
XYZxyz(29.0611, 17.5951, 71.6629)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FDF #96DF4F
analogous
#504FDF #984FDF #DF4FDE
triadic
#984FDF #DF984F #4FDF98
tetradic
#984FDF #DF504F #96DF4F #4FDEDF
square
#984FDF #DF504F #96DF4F #4FDEDF
split-complementary
#984FDF #DEDF4F #4FDF50
monochromatic
#5B1C98 #7A25CC #984FDF #B683E8 #D5B7F2

Accessibility & contrast

On white

4.65
#984FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#984FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #984FDF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FDF#FFFFFF#000000##FFFFFF
##984FDF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#2074DC
Tritanopia (blue-blind)
#8B6E90
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #984fdf;
/* rgb */ color: rgb(152, 79, 223);
/* oklch */ color: oklch(58.5% 0.211 303.8);
Tailwind
colors: {
  custom: {
    50: '#bb85ea',
    500: '#984fdf',
    950: '#000000',
  },
}
SCSS
$custom: #984fdf;
$custom-light: #bb85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#984fdf",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 270.417,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58504,
    "c": 0.21141,
    "h": 303.8
  },
  "luminance": 0.17595
}

Semantic roles & 50–950 ramp

primary
#984FDF
secondary
#C5E1A9
accent
#EC3C93
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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