#984DBA#984DBA

#984DBA is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.9% C 0.175 H 313.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#984DBA
RGBrgb(152, 77, 186)
HSLhsl(281, 44%, 52%)
HSVhsv(281, 59%, 73%)
CMYKcmyk(18.3%, 58.6%, 0%, 27.1%)
CIE-LABlab(46.35, 49.30, -44.88)
CIE-LCHlch(46.35, 66.67, 317.69°)
OKLaboklab(55.85% 0.1212 -0.1257)
OKLCHoklch(55.85% 0.175 313.9)
XYZxyz(24.4642, 15.5290, 48.1535)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DBA #6FBA4D
analogous
#624DBA #984DBA #BA4DA6
triadic
#984DBA #BA984D #4DBA98
tetradic
#984DBA #BA624D #6FBA4D #4DA6BA
square
#984DBA #BA624D #6FBA4D #4DA6BA
split-complementary
#984DBA #A6BA4D #4DBA62
monochromatic
#522765 #763891 #984DBA #B279CB #CBA5DC

Accessibility & contrast

On white

5.11
#984DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#984DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DBA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DBA#FFFFFF#000000##FFFFFF
##984DBA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABD
Deuteranopia (green-blind)
#4970B7
Tritanopia (blue-blind)
#95607C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #984dba;
/* rgb */ color: rgb(152, 77, 186);
/* oklch */ color: oklch(55.9% 0.175 313.9);
Tailwind
colors: {
  custom: {
    50: '#b982cf',
    500: '#984dba',
    950: '#000000',
  },
}
SCSS
$custom: #984dba;
$custom-light: #b982cf;
$custom-dark: #000000;
JSON
{
  "hex": "#984dba",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 281.284,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5585,
    "c": 0.17462,
    "h": 313.9
  },
  "luminance": 0.15528
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #984DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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