#984CBA#984CBA

#984CBA is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.7% C 0.176 H 314.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#984CBA
RGBrgb(152, 76, 186)
HSLhsl(281, 44%, 51%)
HSVhsv(281, 59%, 73%)
CMYKcmyk(18.3%, 59.1%, 0%, 27.1%)
CIE-LABlab(46.16, 49.80, -45.17)
CIE-LCHlch(46.16, 67.24, 317.79°)
OKLaboklab(55.71% 0.1225 -0.1266)
OKLCHoklch(55.71% 0.176 314)
XYZxyz(24.3948, 15.3902, 48.1304)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CBA #6EBA4C
analogous
#614CBA #984CBA #BA4CA5
triadic
#984CBA #BA984C #4CBA98
tetradic
#984CBA #BA614C #6EBA4C #4CA5BA
square
#984CBA #BA614C #6EBA4C #4CA5BA
split-complementary
#984CBA #A5BA4C #4CBA61
monochromatic
#522765 #753891 #984CBA #B178CB #CBA4DC

Accessibility & contrast

On white

5.15
#984CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#984CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CBA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CBA#FFFFFF#000000##FFFFFF
##984CBA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BD
Deuteranopia (green-blind)
#486FB7
Tritanopia (blue-blind)
#955F7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #984cba;
/* rgb */ color: rgb(152, 76, 186);
/* oklch */ color: oklch(55.7% 0.176 314.0);
Tailwind
colors: {
  custom: {
    50: '#b982cf',
    500: '#984cba',
    950: '#000000',
  },
}
SCSS
$custom: #984cba;
$custom-light: #b982cf;
$custom-dark: #000000;
JSON
{
  "hex": "#984cba",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 281.455,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55714,
    "c": 0.17614,
    "h": 314
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#984CBA
secondary
#A8C999
accent
#D4547B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #984CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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