#984FD9#984FD9

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

Color values

HEX#984FD9
RGBrgb(152, 79, 217)
HSLhsl(272, 64%, 58%)
HSVhsv(272, 64%, 85%)
CMYKcmyk(30%, 63.6%, 0%, 14.9%)
CIE-LABlab(48.61, 55.26, -59.12)
CIE-LCHlch(48.61, 80.93, 313.07°)
OKLaboklab(58.09% 0.1181 -0.1675)
OKLCHoklch(58.09% 0.205 305.2)
XYZxyz(28.2665, 17.2773, 67.4779)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FD9 #90D94F
analogous
#534FD9 #984FD9 #D94FD5
triadic
#984FD9 #D9984F #4FD998
tetradic
#984FD9 #D9534F #90D94F #4FD5D9
square
#984FD9 #D9534F #90D94F #4FD5D9
split-complementary
#984FD9 #D5D94F #4FD953
monochromatic
#5A1F8F #7A2AC1 #984FD9 #B581E4 #D3B4EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##984FD9#FFFFFF#000000##FFFFFF
##984FD91.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)
#0071DD
Deuteranopia (green-blind)
#2B74D6
Tritanopia (blue-blind)
#8C6C8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984fd9;
/* rgb */ color: rgb(152, 79, 217);
/* oklch */ color: oklch(58.1% 0.205 305.2);
Tailwind
colors: {
  custom: {
    50: '#bb84e5',
    500: '#984fd9',
    950: '#000000',
  },
}
SCSS
$custom: #984fd9;
$custom-light: #bb84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#984fd9",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 271.739,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58094,
    "c": 0.20495,
    "h": 305.2
  },
  "luminance": 0.17277
}

Semantic roles & 50–950 ramp

primary
#984FD9
secondary
#C0DDA6
accent
#E7408F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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