#984EFE#984EFE

#984EFE is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.6% C 0.246 H 297.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#984EFE
RGBrgb(152, 78, 254)
HSLhsl(265, 99%, 65%)
HSVhsv(265, 69%, 100%)
CMYKcmyk(40.2%, 69.3%, 0%, 0.4%)
CIE-LABlab(51.01, 64.54, -76.04)
CIE-LCHlch(51.01, 99.74, 310.33°)
OKLaboklab(60.63% 0.1146 -0.2172)
OKLCHoklch(60.63% 0.246 297.8)
XYZxyz(33.5581, 19.2794, 95.7000)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EFE #B4FE4E
analogous
#4E5CFE #984EFE #F04EFE
triadic
#984EFE #FE984E #4EFE98
tetradic
#984EFE #FE4E5C #B4FE4E #4EFEF0
square
#984EFE #FE4E5C #B4FE4E #4EFEF0
split-complementary
#984EFE #FEF04E #5CFE4E
monochromatic
#5801D0 #7511FE #984EFE #BB8BFE #DFC8FF

Accessibility & contrast

On white

4.32
#984EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#984EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #984EFE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EFE#FFFFFF#000000##000000
##984EFE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0078FA
Tritanopia (blue-blind)
#7F79A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #984efe;
/* rgb */ color: rgb(152, 78, 254);
/* oklch */ color: oklch(60.6% 0.246 297.8);
Tailwind
colors: {
  custom: {
    50: '#be85ff',
    500: '#984efe',
    950: '#000000',
  },
}
SCSS
$custom: #984efe;
$custom-light: #be85ff;
$custom-dark: #000000;
JSON
{
  "hex": "#984efe",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 254
  },
  "hsl": {
    "h": 265.227,
    "s": 98.876,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6063,
    "c": 0.24561,
    "h": 297.8
  },
  "luminance": 0.1928
}

Semantic roles & 50–950 ramp

primary
#984EFE
secondary
#D9F2B6
accent
#E60085
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B18
muted
#827C86

Preview Lab

Preview with #984EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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