#984FBB#984FBB

#984FBB is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.2% C 0.173 H 313.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#984FBB
RGBrgb(152, 79, 187)
HSLhsl(281, 44%, 52%)
HSVhsv(281, 58%, 73%)
CMYKcmyk(18.7%, 57.8%, 0%, 26.7%)
CIE-LABlab(46.78, 48.50, -44.77)
CIE-LCHlch(46.78, 66.01, 317.29°)
OKLaboklab(56.18% 0.1186 -0.1254)
OKLCHoklch(56.18% 0.173 313.4)
XYZxyz(24.7130, 15.8559, 48.7627)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FBB #72BB4F
analogous
#624FBB #984FBB #BB4FA8
triadic
#984FBB #BB984F #4FBB98
tetradic
#984FBB #BB624F #72BB4F #4FA8BB
square
#984FBB #BB624F #72BB4F #4FA8BB
split-complementary
#984FBB #A8BB4F #4FBB62
monochromatic
#532868 #763994 #984FBB #B27BCC #CCA7DD

Accessibility & contrast

On white

5.03
#984FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #984FBB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FBB#FFFFFF#000000##FFFFFF
##984FBB1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBE
Deuteranopia (green-blind)
#4A71B8
Tritanopia (blue-blind)
#95627D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984fbb;
/* rgb */ color: rgb(152, 79, 187);
/* oklch */ color: oklch(56.2% 0.173 313.4);
Tailwind
colors: {
  custom: {
    50: '#b984d0',
    500: '#984fbb',
    950: '#000000',
  },
}
SCSS
$custom: #984fbb;
$custom-light: #b984d0;
$custom-dark: #000000;
JSON
{
  "hex": "#984fbb",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 280.556,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56185,
    "c": 0.17264,
    "h": 313.4
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #984FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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