#984EBA#984EBA

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

Color values

HEX#984EBA
RGBrgb(152, 78, 186)
HSLhsl(281, 44%, 52%)
HSVhsv(281, 58%, 73%)
CMYKcmyk(18.3%, 58.1%, 0%, 27.1%)
CIE-LABlab(46.54, 48.80, -44.58)
CIE-LCHlch(46.54, 66.09, 317.59°)
OKLaboklab(55.99% 0.1199 -0.1249)
OKLCHoklch(55.99% 0.173 313.8)
XYZxyz(24.5347, 15.6700, 48.1770)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EBA #70BA4E
analogous
#624EBA #984EBA #BA4EA6
triadic
#984EBA #BA984E #4EBA98
tetradic
#984EBA #BA624E #70BA4E #4EA6BA
square
#984EBA #BA624E #70BA4E #4EA6BA
split-complementary
#984EBA #A6BA4E #4EBA62
monochromatic
#522866 #763992 #984EBA #B27ACB #CBA6DC

Accessibility & contrast

On white

5.08
#984EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#984EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984EBA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EBA#FFFFFF#000000##FFFFFF
##984EBA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #984eba;
/* rgb */ color: rgb(152, 78, 186);
/* oklch */ color: oklch(56.0% 0.173 313.8);
Tailwind
colors: {
  custom: {
    50: '#b983cf',
    500: '#984eba',
    950: '#000000',
  },
}
SCSS
$custom: #984eba;
$custom-light: #b983cf;
$custom-dark: #000000;
JSON
{
  "hex": "#984eba",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 281.111,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55987,
    "c": 0.17309,
    "h": 313.8
  },
  "luminance": 0.15669
}

Semantic roles & 50–950 ramp

primary
#984EBA
secondary
#A9CA9A
accent
#D4547C
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #984EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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