#984DB2#984DB2

#984DB2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.4% C 0.166 H 316.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#984DB2
RGBrgb(152, 77, 178)
HSLhsl(285, 40%, 50%)
HSVhsv(285, 57%, 70%)
CMYKcmyk(14.6%, 56.7%, 0%, 30.2%)
CIE-LABlab(45.90, 47.60, -40.91)
CIE-LCHlch(45.90, 62.76, 319.33°)
OKLaboklab(55.38% 0.1208 -0.1141)
OKLCHoklch(55.38% 0.166 316.6)
XYZxyz(23.6375, 15.1983, 43.7993)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DB2 #67B24D
analogous
#654DB2 #984DB2 #B24D9A
triadic
#984DB2 #B2984D #4DB298
tetradic
#984DB2 #B2654D #67B24D #4D9AB2
square
#984DB2 #B2654D #67B24D #4D9AB2
split-complementary
#984DB2 #9AB24D #4DB265
monochromatic
#4F285D #743B87 #984DB2 #B178C4 #C9A2D7

Accessibility & contrast

On white

5.20
#984DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#984DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DB2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DB2#FFFFFF#000000##FFFFFF
##984DB21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#975D78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #984db2;
/* rgb */ color: rgb(152, 77, 178);
/* oklch */ color: oklch(55.4% 0.166 316.6);
Tailwind
colors: {
  custom: {
    50: '#b982c9',
    500: '#984db2',
    950: '#000000',
  },
}
SCSS
$custom: #984db2;
$custom-light: #b982c9;
$custom-dark: #000000;
JSON
{
  "hex": "#984db2",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 284.554,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.55379,
    "c": 0.16621,
    "h": 316.6
  },
  "luminance": 0.15198
}

Semantic roles & 50–950 ramp

primary
#984DB2
secondary
#A2C497
accent
#CF5877
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #984DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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