#984FDA#984FDA

#984FDA is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.206 H 305.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#984FDA
RGBrgb(152, 79, 218)
HSLhsl(272, 65%, 58%)
HSVhsv(272, 64%, 85%)
CMYKcmyk(30.3%, 63.8%, 0%, 14.5%)
CIE-LABlab(48.67, 55.50, -59.59)
CIE-LCHlch(48.67, 81.43, 312.96°)
OKLaboklab(58.16% 0.118 -0.1689)
OKLCHoklch(58.16% 0.206 305)
XYZxyz(28.3970, 17.3295, 68.1650)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FDA #91DA4F
analogous
#524FDA #984FDA #DA4FD6
triadic
#984FDA #DA984F #4FDA98
tetradic
#984FDA #DA524F #91DA4F #4FD6DA
square
#984FDA #DA524F #91DA4F #4FD6DA
split-complementary
#984FDA #D6DA4F #4FDA52
monochromatic
#5A1E90 #7A29C3 #984FDA #B682E5 #D3B4EF

Accessibility & contrast

On white

4.70
#984FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#984FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FDA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FDA#FFFFFF#000000##FFFFFF
##984FDA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#2A74D7
Tritanopia (blue-blind)
#8C6D8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #984fda;
/* rgb */ color: rgb(152, 79, 218);
/* oklch */ color: oklch(58.2% 0.206 305.0);
Tailwind
colors: {
  custom: {
    50: '#bb84e6',
    500: '#984fda',
    950: '#000000',
  },
}
SCSS
$custom: #984fda;
$custom-light: #bb84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#984fda",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 271.511,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58162,
    "c": 0.20603,
    "h": 305
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

primary
#984FDA
secondary
#C1DEA7
accent
#E84090
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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