#984CBE#984CBE

#984CBE is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.0% C 0.180 H 312.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#984CBE
RGBrgb(152, 76, 190)
HSLhsl(280, 47%, 52%)
HSVhsv(280, 60%, 75%)
CMYKcmyk(20%, 60%, 0%, 25.5%)
CIE-LABlab(46.40, 50.67, -47.13)
CIE-LCHlch(46.40, 69.20, 317.07°)
OKLaboklab(55.96% 0.1225 -0.1323)
OKLCHoklch(55.96% 0.18 312.8)
XYZxyz(24.8260, 15.5626, 50.4013)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CBE #72BE4C
analogous
#5F4CBE #984CBE #BE4CAB
triadic
#984CBE #BE984C #4CBE98
tetradic
#984CBE #BE5F4C #72BE4C #4CABBE
square
#984CBE #BE5F4C #72BE4C #4CABBE
split-complementary
#984CBE #ABBE4C #4CBE5F
monochromatic
#532669 #763796 #984CBE #B279CE #CCA6DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##984CBE#FFFFFF#000000##FFFFFF
##984CBE1.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)
#256AC2
Deuteranopia (green-blind)
#4570BB
Tritanopia (blue-blind)
#94617E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #984cbe;
/* rgb */ color: rgb(152, 76, 190);
/* oklch */ color: oklch(56.0% 0.180 312.8);
Tailwind
colors: {
  custom: {
    50: '#b982d2',
    500: '#984cbe',
    950: '#000000',
  },
}
SCSS
$custom: #984cbe;
$custom-light: #b982d2;
$custom-dark: #000000;
JSON
{
  "hex": "#984cbe",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 280,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55957,
    "c": 0.18035,
    "h": 312.8
  },
  "luminance": 0.15562
}

Semantic roles & 50–950 ramp

primary
#984CBE
secondary
#ABCC9A
accent
#D6517E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #984CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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