#984CBB#984CBB

#984CBB is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.8% C 0.177 H 313.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#984CBB
RGBrgb(152, 76, 187)
HSLhsl(281, 45%, 52%)
HSVhsv(281, 59%, 73%)
CMYKcmyk(18.7%, 59.4%, 0%, 26.7%)
CIE-LABlab(46.22, 50.02, -45.66)
CIE-LCHlch(46.22, 67.73, 317.61°)
OKLaboklab(55.77% 0.1225 -0.128)
OKLCHoklch(55.77% 0.177 313.7)
XYZxyz(24.5015, 15.4328, 48.6922)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CBB #6FBB4C
analogous
#614CBB #984CBB #BB4CA7
triadic
#984CBB #BB984C #4CBB98
tetradic
#984CBB #BB614C #6FBB4C #4CA7BB
square
#984CBB #BB614C #6FBB4C #4CA7BB
split-complementary
#984CBB #A7BB4C #4CBB61
monochromatic
#522766 #763892 #984CBB #B278CC #CBA5DD

Accessibility & contrast

On white

5.14
#984CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#984CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CBB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CBB#FFFFFF#000000##FFFFFF
##984CBB1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BF
Deuteranopia (green-blind)
#486FB8
Tritanopia (blue-blind)
#95607C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #984cbb;
/* rgb */ color: rgb(152, 76, 187);
/* oklch */ color: oklch(55.8% 0.177 313.7);
Tailwind
colors: {
  custom: {
    50: '#b982d0',
    500: '#984cbb',
    950: '#000000',
  },
}
SCSS
$custom: #984cbb;
$custom-light: #b982d0;
$custom-dark: #000000;
JSON
{
  "hex": "#984cbb",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 281.081,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55774,
    "c": 0.17719,
    "h": 313.7
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #984CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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