#982DB6#982DB6

#982DB6 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.213 H 317.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#982DB6
RGBrgb(152, 45, 182)
HSLhsl(287, 60%, 45%)
HSVhsv(287, 75%, 71%)
CMYKcmyk(16.5%, 75.3%, 0%, 28.6%)
CIE-LABlab(41.11, 62.38, -50.93)
CIE-LCHlch(41.11, 80.53, 320.77°)
OKLaboklab(52% 0.1571 -0.1432)
OKLCHoklch(52% 0.213 317.6)
XYZxyz(22.3296, 11.9306, 45.3735)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DB6 #4BB62D
analogous
#532DB6 #982DB6 #B62D90
triadic
#982DB6 #B6982D #2DB698
tetradic
#982DB6 #B6532D #4BB62D #2D90B6
square
#982DB6 #B6532D #4BB62D #2D90B6
split-complementary
#982DB6 #90B62D #2DB653
monochromatic
#461554 #6F2185 #982DB6 #B64DD3 #CA7EDF

Accessibility & contrast

On white

6.20
#982DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#982DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DB6
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DB6#FFFFFF#000000##FFFFFF
##982DB61.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#3164B3
Tritanopia (blue-blind)
#974A70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982db6;
/* rgb */ color: rgb(152, 45, 182);
/* oklch */ color: oklch(52.0% 0.213 317.6);
Tailwind
colors: {
  custom: {
    50: '#ba71cd',
    500: '#982db6',
    950: '#000000',
  },
}
SCSS
$custom: #982db6;
$custom-light: #ba71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#982db6",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 286.861,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51997,
    "c": 0.2126,
    "h": 317.6
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#982DB6
secondary
#89C877
accent
#E34467
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #982DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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