#984FE0#984FE0

#984FE0 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.212 H 303.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#984FE0
RGBrgb(152, 79, 224)
HSLhsl(270, 70%, 59%)
HSVhsv(270, 65%, 88%)
CMYKcmyk(32.1%, 64.7%, 0%, 12.2%)
CIE-LABlab(49.07, 56.90, -62.36)
CIE-LCHlch(49.07, 84.42, 312.38°)
OKLaboklab(58.57% 0.1176 -0.177)
OKLCHoklch(58.57% 0.212 303.6)
XYZxyz(29.1963, 17.6492, 72.3751)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FE0 #97E04F
analogous
#504FE0 #984FE0 #E04FDF
triadic
#984FE0 #E0984F #4FE098
tetradic
#984FE0 #E0504F #97E04F #4FDFE0
square
#984FE0 #E0504F #97E04F #4FDFE0
split-complementary
#984FE0 #DFE04F #4FE050
monochromatic
#5B1B9A #7924CE #984FE0 #B683E9 #D5B7F2

Accessibility & contrast

On white

4.64
#984FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#984FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #984FE0
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FE0#FFFFFF#000000##FFFFFF
##984FE01.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#1E74DD
Tritanopia (blue-blind)
#8A6F91
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #984fe0;
/* rgb */ color: rgb(152, 79, 224);
/* oklch */ color: oklch(58.6% 0.212 303.6);
Tailwind
colors: {
  custom: {
    50: '#bb85ea',
    500: '#984fe0',
    950: '#000000',
  },
}
SCSS
$custom: #984fe0;
$custom-light: #bb85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#984fe0",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 270.207,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58573,
    "c": 0.21248,
    "h": 303.6
  },
  "luminance": 0.17649
}

Semantic roles & 50–950 ramp

primary
#984FE0
secondary
#C5E2A9
accent
#ED3B93
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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