#982AA6#982AA6

#982AA6 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.202 H 322.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#982AA6
RGBrgb(152, 42, 166)
HSLhsl(293, 60%, 41%)
HSVhsv(293, 75%, 65%)
CMYKcmyk(8.4%, 74.7%, 0%, 34.9%)
CIE-LABlab(39.72, 60.44, -43.64)
CIE-LCHlch(39.72, 74.54, 324.17°)
OKLaboklab(50.69% 0.1613 -0.1219)
OKLCHoklch(50.69% 0.202 322.9)
XYZxyz(20.6591, 11.0857, 37.1206)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AA6 #38A62A
analogous
#5A2AA6 #982AA6 #A62A76
triadic
#982AA6 #A6982A #2AA698
tetradic
#982AA6 #A65A2A #38A62A #2A76A6
square
#982AA6 #A65A2A #38A62A #2A76A6
split-complementary
#982AA6 #76A62A #2AA65A
monochromatic
#3F1144 #6B1E75 #982AA6 #BE3FCE #CF70DB

Accessibility & contrast

On white

6.53
#982AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#982AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982AA6
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AA6#FFFFFF#000000##FFFFFF
##982AA61.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982aa6;
/* rgb */ color: rgb(152, 42, 166);
/* oklch */ color: oklch(50.7% 0.202 322.9);
Tailwind
colors: {
  custom: {
    50: '#ba6fc1',
    500: '#982aa6',
    950: '#000000',
  },
}
SCSS
$custom: #982aa6;
$custom-light: #ba6fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#982aa6",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 293.226,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5069,
    "c": 0.2022,
    "h": 322.9
  },
  "luminance": 0.11085
}

Semantic roles & 50–950 ramp

primary
#982AA6
secondary
#74C26A
accent
#E34557
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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