#984EFD#984EFD

#984EFD is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.6% C 0.245 H 298.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#984EFD
RGBrgb(152, 78, 253)
HSLhsl(265, 98%, 65%)
HSVhsv(265, 69%, 99%)
CMYKcmyk(39.9%, 69.2%, 0%, 0.8%)
CIE-LABlab(50.94, 64.30, -75.60)
CIE-LCHlch(50.94, 99.25, 310.38°)
OKLaboklab(60.55% 0.1148 -0.2159)
OKLCHoklch(60.55% 0.245 298)
XYZxyz(33.3984, 19.2155, 94.8588)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EFD #B3FD4E
analogous
#4E5CFD #984EFD #EF4EFD
triadic
#984EFD #FD984E #4EFD98
tetradic
#984EFD #FD4E5C #B3FD4E #4EFDEF
square
#984EFD #FD4E5C #B3FD4E #4EFDEF
split-complementary
#984EFD #FDEF4E #5CFD4E
monochromatic
#5902CE #7511FC #984EFD #BB8BFE #DEC7FE

Accessibility & contrast

On white

4.34
#984EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#984EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #984EFD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EFD#FFFFFF#000000##000000
##984EFD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0077F9
Tritanopia (blue-blind)
#7F79A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #984efd;
/* rgb */ color: rgb(152, 78, 253);
/* oklch */ color: oklch(60.6% 0.245 298.0);
Tailwind
colors: {
  custom: {
    50: '#be85ff',
    500: '#984efd',
    950: '#000000',
  },
}
SCSS
$custom: #984efd;
$custom-light: #be85ff;
$custom-dark: #000000;
JSON
{
  "hex": "#984efd",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 253
  },
  "hsl": {
    "h": 265.371,
    "s": 97.765,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60554,
    "c": 0.24455,
    "h": 298
  },
  "luminance": 0.19216
}

Semantic roles & 50–950 ramp

primary
#984EFD
secondary
#D8F1B6
accent
#E60084
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B18
muted
#827C86

Preview Lab

Preview with #984EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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