#982CA6#982CA6

#982CA6 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.200 H 322.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#982CA6
RGBrgb(152, 44, 166)
HSLhsl(293, 58%, 41%)
HSVhsv(293, 73%, 65%)
CMYKcmyk(8.4%, 73.5%, 0%, 34.9%)
CIE-LABlab(39.97, 59.74, -43.25)
CIE-LCHlch(39.97, 73.75, 324.10°)
OKLaboklab(50.86% 0.1595 -0.1208)
OKLCHoklch(50.86% 0.2 322.9)
XYZxyz(20.7318, 11.2312, 37.1448)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CA6 #3AA62C
analogous
#5B2CA6 #982CA6 #A62C77
triadic
#982CA6 #A6982C #2CA698
tetradic
#982CA6 #A65B2C #3AA62C #2C77A6
square
#982CA6 #A65B2C #3AA62C #2C77A6
split-complementary
#982CA6 #77A62C #2CA65B
monochromatic
#3F1245 #6C1F76 #982CA6 #BD42CD #CE73DA

Accessibility & contrast

On white

6.47
#982CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#982CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CA6
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CA6#FFFFFF#000000##FFFFFF
##982CA61.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#3F62A3
Tritanopia (blue-blind)
#9A4267
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982ca6;
/* rgb */ color: rgb(152, 44, 166);
/* oklch */ color: oklch(50.9% 0.200 322.9);
Tailwind
colors: {
  custom: {
    50: '#ba70c1',
    500: '#982ca6',
    950: '#000000',
  },
}
SCSS
$custom: #982ca6;
$custom-light: #ba70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#982ca6",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 293.115,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50863,
    "c": 0.20002,
    "h": 322.9
  },
  "luminance": 0.1123
}

Semantic roles & 50–950 ramp

primary
#982CA6
secondary
#76C16D
accent
#E14658
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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