#982AA5#982AA5

#982AA5 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.201 H 323.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#982AA5
RGBrgb(152, 42, 165)
HSLhsl(294, 59%, 41%)
HSVhsv(294, 75%, 65%)
CMYKcmyk(7.9%, 74.5%, 0%, 35.3%)
CIE-LABlab(39.66, 60.26, -43.14)
CIE-LCHlch(39.66, 74.11, 324.40°)
OKLaboklab(50.63% 0.1614 -0.1204)
OKLCHoklch(50.63% 0.201 323.3)
XYZxyz(20.5678, 11.0492, 36.6394)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AA5 #37A52A
analogous
#5B2AA5 #982AA5 #A52A74
triadic
#982AA5 #A5982A #2AA598
tetradic
#982AA5 #A55B2A #37A52A #2A74A5
square
#982AA5 #A55B2A #37A52A #2A74A5
split-complementary
#982AA5 #74A52A #2AA55B
monochromatic
#3E1143 #6B1E74 #982AA5 #BF3ECE #CF6FDA

Accessibility & contrast

On white

6.54
#982AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#982AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982AA5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AA5#FFFFFF#000000##FFFFFF
##982AA51.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#3F62A2
Tritanopia (blue-blind)
#9A4166
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982aa5;
/* rgb */ color: rgb(152, 42, 165);
/* oklch */ color: oklch(50.6% 0.201 323.3);
Tailwind
colors: {
  custom: {
    50: '#ba6fc0',
    500: '#982aa5',
    950: '#000000',
  },
}
SCSS
$custom: #982aa5;
$custom-light: #ba6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#982aa5",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 293.659,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50627,
    "c": 0.20137,
    "h": 323.3
  },
  "luminance": 0.11048
}

Semantic roles & 50–950 ramp

primary
#982AA5
secondary
#73C169
accent
#E34556
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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