#984FE8#984FE8

#984FE8 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.1% C 0.221 H 301.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#984FE8
RGBrgb(152, 79, 232)
HSLhsl(269, 77%, 61%)
HSVhsv(269, 66%, 91%)
CMYKcmyk(34.5%, 65.9%, 0%, 9%)
CIE-LABlab(49.61, 58.79, -66.01)
CIE-LCHlch(49.61, 88.39, 311.69°)
OKLaboklab(59.13% 0.1168 -0.1877)
OKLCHoklch(59.13% 0.221 301.9)
XYZxyz(30.3069, 18.0935, 78.2240)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FE8 #9FE84F
analogous
#4F52E8 #984FE8 #E44FE8
triadic
#984FE8 #E8984F #4FE898
tetradic
#984FE8 #E84F52 #9FE84F #4FE8E4
square
#984FE8 #E84F52 #9FE84F #4FE8E4
split-complementary
#984FE8 #E8E44F #52E84F
monochromatic
#5B16A7 #791DDD #984FE8 #B885EF #D7BBF6

Accessibility & contrast

On white

4.55
#984FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#984FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #984FE8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FE8#FFFFFF#000000##000000
##984FE81.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#877295
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #984fe8;
/* rgb */ color: rgb(152, 79, 232);
/* oklch */ color: oklch(59.1% 0.221 301.9);
Tailwind
colors: {
  custom: {
    50: '#bc85f0',
    500: '#984fe8',
    950: '#000000',
  },
}
SCSS
$custom: #984fe8;
$custom-light: #bc85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#984fe8",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 268.627,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59133,
    "c": 0.22108,
    "h": 301.9
  },
  "luminance": 0.18094
}

Semantic roles & 50–950 ramp

primary
#984FE8
secondary
#CBE6AD
accent
#D90C77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #984FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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