#982AA4#982AA4

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

Color values

HEX#982AA4
RGBrgb(152, 42, 164)
HSLhsl(294, 59%, 40%)
HSVhsv(294, 74%, 64%)
CMYKcmyk(7.3%, 74.4%, 0%, 35.7%)
CIE-LABlab(39.60, 60.08, -42.64)
CIE-LCHlch(39.60, 73.67, 324.64°)
OKLaboklab(50.56% 0.1615 -0.119)
OKLCHoklch(50.56% 0.201 323.6)
XYZxyz(20.4771, 11.0129, 36.1619)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AA4 #36A42A
analogous
#5B2AA4 #982AA4 #A42A73
triadic
#982AA4 #A4982A #2AA498
tetradic
#982AA4 #A45B2A #36A42A #2A73A4
square
#982AA4 #A45B2A #36A42A #2A73A4
split-complementary
#982AA4 #73A42A #2AA45B
monochromatic
#3E1143 #6B1E73 #982AA4 #BF3ECD #CF6EDA

Accessibility & contrast

On white

6.56
#982AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#982AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982AA4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AA4#FFFFFF#000000##FFFFFF
##982AA41.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#4062A1
Tritanopia (blue-blind)
#9B4065
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982aa4;
/* rgb */ color: rgb(152, 42, 164);
/* oklch */ color: oklch(50.6% 0.201 323.6);
Tailwind
colors: {
  custom: {
    50: '#ba6fbf',
    500: '#982aa4',
    950: '#000000',
  },
}
SCSS
$custom: #982aa4;
$custom-light: #ba6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#982aa4",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 294.098,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50564,
    "c": 0.20054,
    "h": 323.6
  },
  "luminance": 0.11012
}

Semantic roles & 50–950 ramp

primary
#982AA4
secondary
#72C169
accent
#E24555
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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