#984EE6#984EE6

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

Color values

HEX#984EE6
RGBrgb(152, 78, 230)
HSLhsl(269, 75%, 60%)
HSVhsv(269, 66%, 90%)
CMYKcmyk(33.9%, 66.1%, 0%, 9.8%)
CIE-LABlab(49.30, 58.80, -65.38)
CIE-LCHlch(49.30, 87.93, 311.96°)
OKLaboklab(58.87% 0.118 -0.1859)
OKLCHoklch(58.87% 0.22 302.4)
XYZxyz(29.9529, 17.8373, 76.7125)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EE6 #9CE64E
analogous
#4E50E6 #984EE6 #E44EE6
triadic
#984EE6 #E6984E #4EE698
tetradic
#984EE6 #E64E50 #9CE64E #4EE6E4
square
#984EE6 #E64E50 #9CE64E #4EE6E4
split-complementary
#984EE6 #E6E44E #50E64E
monochromatic
#5B17A3 #791FD8 #984EE6 #B784EE #D6B9F5

Accessibility & contrast

On white

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

On black

4.57
#984EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##984EE6#FFFFFF#000000##FFFFFF
##984EE61.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#0275E3
Tritanopia (blue-blind)
#887094
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #984ee6;
/* rgb */ color: rgb(152, 78, 230);
/* oklch */ color: oklch(58.9% 0.220 302.4);
Tailwind
colors: {
  custom: {
    50: '#bc84ef',
    500: '#984ee6',
    950: '#000000',
  },
}
SCSS
$custom: #984ee6;
$custom-light: #bc84ef;
$custom-dark: #000000;
JSON
{
  "hex": "#984ee6",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 269.211,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58867,
    "c": 0.22019,
    "h": 302.4
  },
  "luminance": 0.17837
}

Semantic roles & 50–950 ramp

primary
#984EE6
secondary
#C9E5AB
accent
#D70E75
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #984EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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