#984EC0#984EC0

#984EC0 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.4% C 0.179 H 312.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#984EC0
RGBrgb(152, 78, 192)
HSLhsl(279, 48%, 53%)
HSVhsv(279, 59%, 75%)
CMYKcmyk(20.8%, 59.4%, 0%, 24.7%)
CIE-LABlab(46.88, 50.10, -47.52)
CIE-LCHlch(46.88, 69.05, 316.52°)
OKLaboklab(56.35% 0.12 -0.1335)
OKLCHoklch(56.35% 0.18 312)
XYZxyz(25.1860, 15.9306, 51.6071)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EC0 #76C04E
analogous
#5F4EC0 #984EC0 #C04EAF
triadic
#984EC0 #C0984E #4EC098
tetradic
#984EC0 #C05F4E #76C04E #4EAFC0
square
#984EC0 #C05F4E #76C04E #4EAFC0
split-complementary
#984EC0 #AFC04E #4EC05F
monochromatic
#54276D #77379A #984EC0 #B27BD0 #CDA8E0

Accessibility & contrast

On white

5.02
#984EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#984EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984EC0
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EC0#FFFFFF#000000##FFFFFF
##984EC01.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276BC4
Deuteranopia (green-blind)
#4671BD
Tritanopia (blue-blind)
#946380
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984ec0;
/* rgb */ color: rgb(152, 78, 192);
/* oklch */ color: oklch(56.4% 0.179 312.0);
Tailwind
colors: {
  custom: {
    50: '#b983d3',
    500: '#984ec0',
    950: '#000000',
  },
}
SCSS
$custom: #984ec0;
$custom-light: #b983d3;
$custom-dark: #000000;
JSON
{
  "hex": "#984ec0",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 278.947,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5635,
    "c": 0.1795,
    "h": 312
  },
  "luminance": 0.1593
}

Semantic roles & 50–950 ramp

primary
#984EC0
secondary
#AECE9C
accent
#D75180
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #984EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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