#984CB1#984CB1

#984CB1 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.2% C 0.167 H 317.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#984CB1
RGBrgb(152, 76, 177)
HSLhsl(285, 40%, 50%)
HSVhsv(285, 57%, 69%)
CMYKcmyk(14.1%, 57.1%, 0%, 30.6%)
CIE-LABlab(45.66, 47.90, -40.71)
CIE-LCHlch(45.66, 62.86, 319.64°)
OKLaboklab(55.18% 0.1221 -0.1136)
OKLCHoklch(55.18% 0.167 317.1)
XYZxyz(23.4680, 15.0195, 43.2493)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CB1 #65B14C
analogous
#664CB1 #984CB1 #B14C97
triadic
#984CB1 #B1984C #4CB198
tetradic
#984CB1 #B1664C #65B14C #4C97B1
square
#984CB1 #B1664C #65B14C #4C97B1
split-complementary
#984CB1 #97B14C #4CB166
monochromatic
#4E275B #733A86 #984CB1 #B176C4 #C9A1D7

Accessibility & contrast

On white

5.25
#984CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#984CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CB1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CB1#FFFFFF#000000##FFFFFF
##984CB11.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3467B4
Deuteranopia (green-blind)
#4F6EAE
Tritanopia (blue-blind)
#975C77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #984cb1;
/* rgb */ color: rgb(152, 76, 177);
/* oklch */ color: oklch(55.2% 0.167 317.1);
Tailwind
colors: {
  custom: {
    50: '#b982c9',
    500: '#984cb1',
    950: '#000000',
  },
}
SCSS
$custom: #984cb1;
$custom-light: #b982c9;
$custom-dark: #000000;
JSON
{
  "hex": "#984cb1",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 285.149,
    "s": 39.921,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55183,
    "c": 0.16674,
    "h": 317.1
  },
  "luminance": 0.15019
}

Semantic roles & 50–950 ramp

primary
#984CB1
secondary
#A1C395
accent
#D05876
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #984CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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