#982DB9#982DB9

#982DB9 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.215 H 316.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#982DB9
RGBrgb(152, 45, 185)
HSLhsl(286, 61%, 45%)
HSVhsv(286, 76%, 73%)
CMYKcmyk(17.8%, 75.7%, 0%, 27.5%)
CIE-LABlab(41.30, 62.95, -52.37)
CIE-LCHlch(41.30, 81.89, 320.24°)
OKLaboklab(52.2% 0.1567 -0.1475)
OKLCHoklch(52.2% 0.215 316.7)
XYZxyz(22.6429, 12.0559, 47.0238)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DB9 #4EB92D
analogous
#522DB9 #982DB9 #B92D94
triadic
#982DB9 #B9982D #2DB998
tetradic
#982DB9 #B9522D #4EB92D #2D94B9
square
#982DB9 #B9522D #4EB92D #2D94B9
split-complementary
#982DB9 #94B92D #2DB952
monochromatic
#471557 #702188 #982DB9 #B54FD4 #CA80E0

Accessibility & contrast

On white

6.16
#982DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#982DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DB9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DB9#FFFFFF#000000##FFFFFF
##982DB91.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#2E64B6
Tritanopia (blue-blind)
#964C72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982db9;
/* rgb */ color: rgb(152, 45, 185);
/* oklch */ color: oklch(52.2% 0.215 316.7);
Tailwind
colors: {
  custom: {
    50: '#bb72cf',
    500: '#982db9',
    950: '#000000',
  },
}
SCSS
$custom: #982db9;
$custom-light: #bb72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#982db9",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 285.857,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52201,
    "c": 0.2152,
    "h": 316.7
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

primary
#982DB9
secondary
#8CC979
accent
#E4446A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #982DB9

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

Preview Lab → · Contrast checker → · Palette generator →

#982DB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva