#984BBB#984BBB

#984BBB is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.6% C 0.179 H 313.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#984BBB
RGBrgb(152, 75, 187)
HSLhsl(281, 45%, 51%)
HSVhsv(281, 60%, 73%)
CMYKcmyk(18.7%, 59.9%, 0%, 26.7%)
CIE-LABlab(46.04, 50.52, -45.96)
CIE-LCHlch(46.04, 68.30, 317.71°)
OKLaboklab(55.64% 0.1238 -0.1289)
OKLCHoklch(55.64% 0.179 313.8)
XYZxyz(24.4331, 15.2961, 48.6694)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BBB #6EBB4B
analogous
#604BBB #984BBB #BB4BA6
triadic
#984BBB #BB984B #4BBB98
tetradic
#984BBB #BB604B #6EBB4B #4BA6BB
square
#984BBB #BB604B #6EBB4B #4BA6BB
split-complementary
#984BBB #A6BB4B #4BBB60
monochromatic
#522665 #753792 #984BBB #B177CC #CBA4DD

Accessibility & contrast

On white

5.17
#984BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#984BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BBB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BBB#FFFFFF#000000##FFFFFF
##984BBB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769BF
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#955F7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #984bbb;
/* rgb */ color: rgb(152, 75, 187);
/* oklch */ color: oklch(55.6% 0.179 313.8);
Tailwind
colors: {
  custom: {
    50: '#b981d0',
    500: '#984bbb',
    950: '#000000',
  },
}
SCSS
$custom: #984bbb;
$custom-light: #b981d0;
$custom-dark: #000000;
JSON
{
  "hex": "#984bbb",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 281.25,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5564,
    "c": 0.17868,
    "h": 313.8
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#984BBB
secondary
#A8CA98
accent
#D5537C
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #984BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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