#984EBE#984EBE

#984EBE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.2% C 0.177 H 312.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#984EBE
RGBrgb(152, 78, 190)
HSLhsl(280, 46%, 53%)
HSVhsv(280, 59%, 75%)
CMYKcmyk(20%, 58.9%, 0%, 25.5%)
CIE-LABlab(46.77, 49.67, -46.54)
CIE-LCHlch(46.77, 68.06, 316.86°)
OKLaboklab(56.23% 0.12 -0.1306)
OKLCHoklch(56.23% 0.177 312.6)
XYZxyz(24.9659, 15.8425, 50.4480)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EBE #74BE4E
analogous
#604EBE #984EBE #BE4EAC
triadic
#984EBE #BE984E #4EBE98
tetradic
#984EBE #BE604E #74BE4E #4EACBE
square
#984EBE #BE604E #74BE4E #4EACBE
split-complementary
#984EBE #ACBE4E #4EBE60
monochromatic
#54276A #773897 #984EBE #B27BCE #CCA8DF

Accessibility & contrast

On white

5.04
#984EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#984EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984EBE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EBE#FFFFFF#000000##FFFFFF
##984EBE1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296BC2
Deuteranopia (green-blind)
#4771BB
Tritanopia (blue-blind)
#94627F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984ebe;
/* rgb */ color: rgb(152, 78, 190);
/* oklch */ color: oklch(56.2% 0.177 312.6);
Tailwind
colors: {
  custom: {
    50: '#b983d2',
    500: '#984ebe',
    950: '#000000',
  },
}
SCSS
$custom: #984ebe;
$custom-light: #b983d2;
$custom-dark: #000000;
JSON
{
  "hex": "#984ebe",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 279.643,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56228,
    "c": 0.17735,
    "h": 312.6
  },
  "luminance": 0.15842
}

Semantic roles & 50–950 ramp

primary
#984EBE
secondary
#ACCC9C
accent
#D6527F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #984EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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