#982CB5#982CB5

#982CB5 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.213 H 318.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#982CB5
RGBrgb(152, 44, 181)
HSLhsl(287, 61%, 44%)
HSVhsv(287, 76%, 71%)
CMYKcmyk(16%, 75.7%, 0%, 29%)
CIE-LABlab(40.92, 62.53, -50.64)
CIE-LCHlch(40.92, 80.46, 321.00°)
OKLaboklab(51.84% 0.1581 -0.1424)
OKLCHoklch(51.84% 0.213 318)
XYZxyz(22.1889, 11.8140, 44.8186)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CB5 #49B52C
analogous
#532CB5 #982CB5 #B52C8E
triadic
#982CB5 #B5982C #2CB598
tetradic
#982CB5 #B5532C #49B52C #2C8EB5
square
#982CB5 #B5532C #49B52C #2C8EB5
split-complementary
#982CB5 #8EB52C #2CB553
monochromatic
#451453 #6F2084 #982CB5 #B64BD3 #CA7CDF

Accessibility & contrast

On white

6.25
#982CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#982CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CB5
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CB5#FFFFFF#000000##FFFFFF
##982CB51.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#3264B2
Tritanopia (blue-blind)
#97496F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982cb5;
/* rgb */ color: rgb(152, 44, 181);
/* oklch */ color: oklch(51.8% 0.213 318.0);
Tailwind
colors: {
  custom: {
    50: '#ba71cc',
    500: '#982cb5',
    950: '#000000',
  },
}
SCSS
$custom: #982cb5;
$custom-light: #ba71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#982cb5",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 287.299,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51844,
    "c": 0.21278,
    "h": 318
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

primary
#982CB5
secondary
#87C875
accent
#E44466
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #982CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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