#982AA1#982AA1

#982AA1 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.198 H 324.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#982AA1
RGBrgb(152, 42, 161)
HSLhsl(295, 59%, 40%)
HSVhsv(295, 74%, 63%)
CMYKcmyk(5.6%, 73.9%, 0%, 36.9%)
CIE-LABlab(39.42, 59.54, -41.13)
CIE-LCHlch(39.42, 72.37, 325.37°)
OKLaboklab(50.38% 0.1616 -0.1145)
OKLCHoklch(50.38% 0.198 324.7)
XYZxyz(20.2094, 10.9058, 34.7519)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AA1 #33A12A
analogous
#5C2AA1 #982AA1 #A12A6F
triadic
#982AA1 #A1982A #2AA198
tetradic
#982AA1 #A15C2A #33A12A #2A6FA1
square
#982AA1 #A15C2A #33A12A #2A6FA1
split-complementary
#982AA1 #6FA12A #2AA15C
monochromatic
#3C1140 #6A1D70 #982AA1 #C13CCC #D16DD9

Accessibility & contrast

On white

6.60
#982AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#982AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982AA1
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AA1#FFFFFF#000000##FFFFFF
##982AA11.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#42619E
Tritanopia (blue-blind)
#9B3F63
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982aa1;
/* rgb */ color: rgb(152, 42, 161);
/* oklch */ color: oklch(50.4% 0.198 324.7);
Tailwind
colors: {
  custom: {
    50: '#ba6fbd',
    500: '#982aa1',
    950: '#000000',
  },
}
SCSS
$custom: #982aa1;
$custom-light: #ba6fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#982aa1",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 295.462,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50377,
    "c": 0.19807,
    "h": 324.7
  },
  "luminance": 0.10905
}

Semantic roles & 50–950 ramp

primary
#982AA1
secondary
#6EC067
accent
#E24652
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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