#984AFF#984AFF

#984AFF is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.3% C 0.251 H 298.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#984AFF
RGBrgb(152, 74, 255)
HSLhsl(266, 100%, 65%)
HSVhsv(266, 71%, 100%)
CMYKcmyk(40.4%, 71%, 0%, 0%)
CIE-LABlab(50.44, 66.59, -77.52)
CIE-LCHlch(50.44, 102.20, 310.66°)
OKLaboklab(60.25% 0.1181 -0.2216)
OKLCHoklch(60.25% 0.251 298.1)
XYZxyz(33.4430, 18.7924, 96.4537)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984AFF #B1FF4A
analogous
#4A57FF #984AFF #F24AFF
triadic
#984AFF #FF984A #4AFF98
tetradic
#984AFF #FF4A57 #B1FF4A #4AFFF2
square
#984AFF #FF4A57 #B1FF4A #4AFFF2
split-complementary
#984AFF #FFF24A #57FF4A
monochromatic
#5900CF #750DFF #984AFF #BB87FF #DEC4FF

Accessibility & contrast

On white

4.41
#984AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#984AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #984AFF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984AFF#FFFFFF#000000##000000
##984AFF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0076FB
Tritanopia (blue-blind)
#7E78A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #984aff;
/* rgb */ color: rgb(152, 74, 255);
/* oklch */ color: oklch(60.3% 0.251 298.1);
Tailwind
colors: {
  custom: {
    50: '#be83ff',
    500: '#984aff',
    950: '#000000',
  },
}
SCSS
$custom: #984aff;
$custom-light: #be83ff;
$custom-dark: #000000;
JSON
{
  "hex": "#984aff",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 265.856,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6025,
    "c": 0.25106,
    "h": 298.1
  },
  "luminance": 0.18793
}

Semantic roles & 50–950 ramp

primary
#984AFF
secondary
#D7F2B3
accent
#E60083
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B18
muted
#827C86

Preview Lab

Preview with #984AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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