#982CB6#982CB6

#982CB6 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.214 H 317.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#982CB6
RGBrgb(152, 44, 182)
HSLhsl(287, 61%, 44%)
HSVhsv(287, 76%, 71%)
CMYKcmyk(16.5%, 75.8%, 0%, 28.6%)
CIE-LABlab(40.99, 62.72, -51.12)
CIE-LCHlch(40.99, 80.92, 320.82°)
OKLaboklab(51.91% 0.158 -0.1438)
OKLCHoklch(51.91% 0.214 317.7)
XYZxyz(22.2919, 11.8552, 45.3610)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CB6 #4AB62C
analogous
#532CB6 #982CB6 #B62C8F
triadic
#982CB6 #B6982C #2CB698
tetradic
#982CB6 #B6532C #4AB62C #2C8FB6
square
#982CB6 #B6532C #4AB62C #2C8FB6
split-complementary
#982CB6 #8FB62C #2CB653
monochromatic
#461453 #6F2085 #982CB6 #B64CD4 #CA7DE0

Accessibility & contrast

On white

6.23
#982CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#982CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CB6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CB6#FFFFFF#000000##FFFFFF
##982CB61.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.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: #982cb6;
/* rgb */ color: rgb(152, 44, 182);
/* oklch */ color: oklch(51.9% 0.214 317.7);
Tailwind
colors: {
  custom: {
    50: '#ba71cd',
    500: '#982cb6',
    950: '#000000',
  },
}
SCSS
$custom: #982cb6;
$custom-light: #ba71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#982cb6",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 286.957,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.21364,
    "h": 317.7
  },
  "luminance": 0.11854
}

Semantic roles & 50–950 ramp

primary
#982CB6
secondary
#88C876
accent
#E44467
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #982CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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