#984FE6#984FE6

#984FE6 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.0% C 0.219 H 302.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#984FE6
RGBrgb(152, 79, 230)
HSLhsl(269, 75%, 61%)
HSVhsv(269, 66%, 90%)
CMYKcmyk(33.9%, 65.7%, 0%, 9.8%)
CIE-LABlab(49.47, 58.32, -65.10)
CIE-LCHlch(49.47, 87.40, 311.85°)
OKLaboklab(58.99% 0.117 -0.1851)
OKLCHoklch(58.99% 0.219 302.3)
XYZxyz(30.0244, 17.9805, 76.7364)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FE6 #9DE64F
analogous
#4F51E6 #984FE6 #E44FE6
triadic
#984FE6 #E6984F #4FE698
tetradic
#984FE6 #E64F51 #9DE64F #4FE6E4
square
#984FE6 #E64F51 #9DE64F #4FE6E4
split-complementary
#984FE6 #E6E44F #51E64F
monochromatic
#5B17A3 #791FD9 #984FE6 #B785EE #D7BAF5

Accessibility & contrast

On white

4.57
#984FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#984FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #984FE6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FE6#FFFFFF#000000##000000
##984FE61.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#0775E3
Tritanopia (blue-blind)
#887194
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #984fe6;
/* rgb */ color: rgb(152, 79, 230);
/* oklch */ color: oklch(59.0% 0.219 302.3);
Tailwind
colors: {
  custom: {
    50: '#bc85ef',
    500: '#984fe6',
    950: '#000000',
  },
}
SCSS
$custom: #984fe6;
$custom-light: #bc85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#984fe6",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 269.007,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58992,
    "c": 0.21893,
    "h": 302.3
  },
  "luminance": 0.17981
}

Semantic roles & 50–950 ramp

primary
#984FE6
secondary
#C9E5AC
accent
#D70E76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #984FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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