#984EE0#984EE0

#984EE0 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.4% C 0.214 H 303.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#984EE0
RGBrgb(152, 78, 224)
HSLhsl(270, 70%, 59%)
HSVhsv(270, 65%, 88%)
CMYKcmyk(32.1%, 65.2%, 0%, 12.2%)
CIE-LABlab(48.89, 57.38, -62.64)
CIE-LCHlch(48.89, 84.95, 312.49°)
OKLaboklab(58.45% 0.1187 -0.1778)
OKLCHoklch(58.45% 0.214 303.7)
XYZxyz(29.1248, 17.5061, 72.3512)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EE0 #96E04E
analogous
#4F4EE0 #984EE0 #E04EDF
triadic
#984EE0 #E0984E #4EE098
tetradic
#984EE0 #E04F4E #96E04E #4EDFE0
square
#984EE0 #E04F4E #96E04E #4EDFE0
split-complementary
#984EE0 #DFE04E #4EE04F
monochromatic
#5B1B99 #7A24CD #984EE0 #B682E9 #D5B6F2

Accessibility & contrast

On white

4.67
#984EE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#984EE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #984EE0
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EE0#FFFFFF#000000##FFFFFF
##984EE01.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#1B74DD
Tritanopia (blue-blind)
#8A6E90
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #984ee0;
/* rgb */ color: rgb(152, 78, 224);
/* oklch */ color: oklch(58.4% 0.214 303.7);
Tailwind
colors: {
  custom: {
    50: '#bb84ea',
    500: '#984ee0',
    950: '#000000',
  },
}
SCSS
$custom: #984ee0;
$custom-light: #bb84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#984ee0",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 224
  },
  "hsl": {
    "h": 270.411,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58446,
    "c": 0.21379,
    "h": 303.7
  },
  "luminance": 0.17506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #984EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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