#984EDA#984EDA

#984EDA is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.207 H 305.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#984EDA
RGBrgb(152, 78, 218)
HSLhsl(272, 65%, 58%)
HSVhsv(272, 64%, 85%)
CMYKcmyk(30.3%, 64.2%, 0%, 14.5%)
CIE-LABlab(48.49, 55.99, -59.88)
CIE-LCHlch(48.49, 81.97, 313.08°)
OKLaboklab(58.03% 0.1192 -0.1697)
OKLCHoklch(58.03% 0.207 305.1)
XYZxyz(28.3254, 17.1863, 68.1411)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EDA #90DA4E
analogous
#524EDA #984EDA #DA4ED6
triadic
#984EDA #DA984E #4EDA98
tetradic
#984EDA #DA524E #90DA4E #4ED6DA
square
#984EDA #DA524E #90DA4E #4ED6DA
split-complementary
#984EDA #D6DA4E #4EDA52
monochromatic
#5A1E90 #7A29C2 #984EDA #B581E5 #D3B3EF

Accessibility & contrast

On white

4.73
#984EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#984EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984EDA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EDA#FFFFFF#000000##FFFFFF
##984EDA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#2873D7
Tritanopia (blue-blind)
#8C6C8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984eda;
/* rgb */ color: rgb(152, 78, 218);
/* oklch */ color: oklch(58.0% 0.207 305.1);
Tailwind
colors: {
  custom: {
    50: '#bb84e6',
    500: '#984eda',
    950: '#000000',
  },
}
SCSS
$custom: #984eda;
$custom-light: #bb84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#984eda",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 271.714,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58033,
    "c": 0.20736,
    "h": 305.1
  },
  "luminance": 0.17186
}

Semantic roles & 50–950 ramp

primary
#984EDA
secondary
#C0DEA6
accent
#E83F8F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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