#984DB1#984DB1

#984DB1 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.3% C 0.165 H 317.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#984DB1
RGBrgb(152, 77, 177)
HSLhsl(285, 39%, 50%)
HSVhsv(285, 56%, 69%)
CMYKcmyk(14.1%, 56.5%, 0%, 30.6%)
CIE-LABlab(45.85, 47.39, -40.41)
CIE-LCHlch(45.85, 62.28, 319.55°)
OKLaboklab(55.32% 0.1207 -0.1127)
OKLCHoklch(55.32% 0.165 317)
XYZxyz(23.5374, 15.1583, 43.2724)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DB1 #66B14D
analogous
#664DB1 #984DB1 #B14D98
triadic
#984DB1 #B1984D #4DB198
tetradic
#984DB1 #B1664D #66B14D #4D98B1
square
#984DB1 #B1664D #66B14D #4D98B1
split-complementary
#984DB1 #98B14D #4DB166
monochromatic
#4F285C #733A86 #984DB1 #B177C4 #C9A2D6

Accessibility & contrast

On white

5.21
#984DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#984DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DB1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DB1#FFFFFF#000000##FFFFFF
##984DB11.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B4
Deuteranopia (green-blind)
#4F6FAE
Tritanopia (blue-blind)
#975D78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #984db1;
/* rgb */ color: rgb(152, 77, 177);
/* oklch */ color: oklch(55.3% 0.165 317.0);
Tailwind
colors: {
  custom: {
    50: '#b982c9',
    500: '#984db1',
    950: '#000000',
  },
}
SCSS
$custom: #984db1;
$custom-light: #b982c9;
$custom-dark: #000000;
JSON
{
  "hex": "#984db1",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 285,
    "s": 39.37,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55322,
    "c": 0.16516,
    "h": 317
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#984DB1
secondary
#A2C496
accent
#CF5976
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #984DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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