#984CFF#984CFF

#984CFF is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.5% C 0.249 H 297.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#984CFF
RGBrgb(152, 76, 255)
HSLhsl(265, 100%, 65%)
HSVhsv(265, 70%, 100%)
CMYKcmyk(40.4%, 70.2%, 0%, 0%)
CIE-LABlab(50.76, 65.70, -77.00)
CIE-LCHlch(50.76, 101.22, 310.47°)
OKLaboklab(60.48% 0.1163 -0.22)
OKLCHoklch(60.48% 0.249 297.9)
XYZxyz(33.5787, 19.0637, 96.4989)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CFF #B3FF4C
analogous
#4C59FF #984CFF #F24CFF
triadic
#984CFF #FF984C #4CFF98
tetradic
#984CFF #FF4C59 #B3FF4C #4CFFF2
square
#984CFF #FF4C59 #B3FF4C #4CFFF2
split-complementary
#984CFF #FFF24C #59FF4C
monochromatic
#5900D1 #750FFF #984CFF #BB89FF #DEC6FF

Accessibility & contrast

On white

4.36
#984CFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#984CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #984CFF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CFF#FFFFFF#000000##000000
##984CFF1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0077FB
Tritanopia (blue-blind)
#7E79A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #984cff;
/* rgb */ color: rgb(152, 76, 255);
/* oklch */ color: oklch(60.5% 0.249 297.9);
Tailwind
colors: {
  custom: {
    50: '#be84ff',
    500: '#984cff',
    950: '#000000',
  },
}
SCSS
$custom: #984cff;
$custom-light: #be84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#984cff",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 255
  },
  "hsl": {
    "h": 265.475,
    "s": 100,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60475,
    "c": 0.24887,
    "h": 297.9
  },
  "luminance": 0.19064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #984CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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