#984DE8#984DE8

#984DE8 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.9% C 0.224 H 302.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#984DE8
RGBrgb(152, 77, 232)
HSLhsl(269, 77%, 61%)
HSVhsv(269, 67%, 91%)
CMYKcmyk(34.5%, 66.8%, 0%, 9%)
CIE-LABlab(49.26, 59.74, -66.56)
CIE-LCHlch(49.26, 89.44, 311.91°)
OKLaboklab(58.89% 0.1189 -0.1894)
OKLCHoklch(58.89% 0.224 302.1)
XYZxyz(30.1648, 17.8093, 78.1766)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DE8 #9DE84D
analogous
#4D50E8 #984DE8 #E54DE8
triadic
#984DE8 #E8984D #4DE898
tetradic
#984DE8 #E84D50 #9DE84D #4DE8E5
square
#984DE8 #E84D50 #9DE84D #4DE8E5
split-complementary
#984DE8 #E8E54D #50E84D
monochromatic
#5B15A5 #791CDB #984DE8 #B783EF #D7B9F6

Accessibility & contrast

On white

4.60
#984DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#984DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #984DE8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DE8#FFFFFF#000000##FFFFFF
##984DE81.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#887094
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #984de8;
/* rgb */ color: rgb(152, 77, 232);
/* oklch */ color: oklch(58.9% 0.224 302.1);
Tailwind
colors: {
  custom: {
    50: '#bc84f0',
    500: '#984de8',
    950: '#000000',
  },
}
SCSS
$custom: #984de8;
$custom-light: #bc84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#984de8",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 269.032,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58886,
    "c": 0.22357,
    "h": 302.1
  },
  "luminance": 0.17809
}

Semantic roles & 50–950 ramp

primary
#984DE8
secondary
#C9E6AB
accent
#D90C76
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #984DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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