#984FE4#984FE4

#984FE4 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.9% C 0.217 H 302.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#984FE4
RGBrgb(152, 79, 228)
HSLhsl(269, 73%, 60%)
HSVhsv(269, 65%, 89%)
CMYKcmyk(33.3%, 65.4%, 0%, 10.6%)
CIE-LABlab(49.34, 57.84, -64.19)
CIE-LCHlch(49.34, 86.41, 312.02°)
OKLaboklab(58.85% 0.1172 -0.1824)
OKLCHoklch(58.85% 0.217 302.7)
XYZxyz(29.7452, 17.8688, 75.2657)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FE4 #9BE44F
analogous
#4F50E4 #984FE4 #E24FE4
triadic
#984FE4 #E4984F #4FE498
tetradic
#984FE4 #E44F50 #9BE44F #4FE4E2
square
#984FE4 #E44F50 #9BE44F #4FE4E2
split-complementary
#984FE4 #E4E24F #50E44F
monochromatic
#5B19A0 #7921D5 #984FE4 #B784EC #D6B9F4

Accessibility & contrast

On white

4.59
#984FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #984FE4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FE4#FFFFFF#000000##FFFFFF
##984FE41.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#1175E1
Tritanopia (blue-blind)
#897093
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #984fe4;
/* rgb */ color: rgb(152, 79, 228);
/* oklch */ color: oklch(58.9% 0.217 302.7);
Tailwind
colors: {
  custom: {
    50: '#bb85ed',
    500: '#984fe4',
    950: '#000000',
  },
}
SCSS
$custom: #984fe4;
$custom-light: #bb85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#984fe4",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 269.396,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58851,
    "c": 0.21678,
    "h": 302.7
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#984FE4
secondary
#C8E4AB
accent
#D61075
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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