#984FD5#984FD5

#984FD5 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.201 H 306.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#984FD5
RGBrgb(152, 79, 213)
HSLhsl(273, 61%, 57%)
HSVhsv(273, 63%, 84%)
CMYKcmyk(28.6%, 62.9%, 0%, 16.5%)
CIE-LABlab(48.35, 54.34, -57.26)
CIE-LCHlch(48.35, 78.94, 313.50°)
OKLaboklab(57.83% 0.1184 -0.162)
OKLCHoklch(57.83% 0.201 306.2)
XYZxyz(27.7525, 17.0717, 64.7710)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FD5 #8CD54F
analogous
#554FD5 #984FD5 #D54FCF
triadic
#984FD5 #D5984F #4FD598
tetradic
#984FD5 #D5554F #8CD54F #4FCFD5
square
#984FD5 #D5554F #8CD54F #4FCFD5
split-complementary
#984FD5 #CFD54F #4FD555
monochromatic
#592189 #7A2CBA #984FD5 #B580E1 #D2B2ED

Accessibility & contrast

On white

4.76
#984FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#984FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FD5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FD5#FFFFFF#000000##FFFFFF
##984FD51.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#3173D2
Tritanopia (blue-blind)
#8E6B8B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984fd5;
/* rgb */ color: rgb(152, 79, 213);
/* oklch */ color: oklch(57.8% 0.201 306.2);
Tailwind
colors: {
  custom: {
    50: '#ba84e3',
    500: '#984fd5',
    950: '#000000',
  },
}
SCSS
$custom: #984fd5;
$custom-light: #ba84e3;
$custom-dark: #000000;
JSON
{
  "hex": "#984fd5",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 272.687,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57826,
    "c": 0.20064,
    "h": 306.2
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#984FD5
secondary
#BDDBA5
accent
#E5438D
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #984FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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