#984EBB#984EBB

#984EBB is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.0% C 0.174 H 313.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#984EBB
RGBrgb(152, 78, 187)
HSLhsl(281, 44%, 52%)
HSVhsv(281, 58%, 73%)
CMYKcmyk(18.7%, 58.3%, 0%, 26.7%)
CIE-LABlab(46.60, 49.01, -45.07)
CIE-LCHlch(46.60, 66.58, 317.40°)
OKLaboklab(56.05% 0.1199 -0.1263)
OKLCHoklch(56.05% 0.174 313.5)
XYZxyz(24.6414, 15.7127, 48.7389)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EBB #71BB4E
analogous
#624EBB #984EBB #BB4EA8
triadic
#984EBB #BB984E #4EBB98
tetradic
#984EBB #BB624E #71BB4E #4EA8BB
square
#984EBB #BB624E #71BB4E #4EA8BB
split-complementary
#984EBB #A8BB4E #4EBB62
monochromatic
#532867 #763993 #984EBB #B27ACC #CBA6DD

Accessibility & contrast

On white

5.07
#984EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#984EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984EBB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EBB#FFFFFF#000000##FFFFFF
##984EBB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#95617D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #984ebb;
/* rgb */ color: rgb(152, 78, 187);
/* oklch */ color: oklch(56.0% 0.174 313.5);
Tailwind
colors: {
  custom: {
    50: '#b983d0',
    500: '#984ebb',
    950: '#000000',
  },
}
SCSS
$custom: #984ebb;
$custom-light: #b983d0;
$custom-dark: #000000;
JSON
{
  "hex": "#984ebb",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 280.734,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56047,
    "c": 0.17416,
    "h": 313.5
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#984EBB
secondary
#AACA9B
accent
#D4547D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #984EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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