#984FD3#984FD3

#984FD3 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.7% C 0.198 H 306.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#984FD3
RGBrgb(152, 79, 211)
HSLhsl(273, 60%, 57%)
HSVhsv(273, 63%, 83%)
CMYKcmyk(28%, 62.6%, 0%, 17.3%)
CIE-LABlab(48.22, 53.88, -56.32)
CIE-LCHlch(48.22, 77.94, 313.73°)
OKLaboklab(57.69% 0.1185 -0.1592)
OKLCHoklch(57.69% 0.198 306.6)
XYZxyz(27.5003, 16.9708, 63.4423)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FD3 #8AD34F
analogous
#564FD3 #984FD3 #D34FCC
triadic
#984FD3 #D3984F #4FD398
tetradic
#984FD3 #D3564F #8AD34F #4FCCD3
square
#984FD3 #D3564F #8AD34F #4FCCD3
split-complementary
#984FD3 #CCD34F #4FD356
monochromatic
#592286 #7A2EB7 #984FD3 #B580DF #D1B1EB

Accessibility & contrast

On white

4.78
#984FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#984FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FD3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FD3#FFFFFF#000000##FFFFFF
##984FD31.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#3473D0
Tritanopia (blue-blind)
#8E6A8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #984fd3;
/* rgb */ color: rgb(152, 79, 211);
/* oklch */ color: oklch(57.7% 0.198 306.6);
Tailwind
colors: {
  custom: {
    50: '#ba84e1',
    500: '#984fd3',
    950: '#000000',
  },
}
SCSS
$custom: #984fd3;
$custom-light: #ba84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#984fd3",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 273.182,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57694,
    "c": 0.19848,
    "h": 306.6
  },
  "luminance": 0.16971
}

Semantic roles & 50–950 ramp

primary
#984FD3
secondary
#BCDAA4
accent
#E3458B
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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