#982EA4#982EA4

#982EA4 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.196 H 323.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#982EA4
RGBrgb(152, 46, 164)
HSLhsl(294, 56%, 41%)
HSVhsv(294, 72%, 64%)
CMYKcmyk(7.3%, 72%, 0%, 35.7%)
CIE-LABlab(40.10, 58.66, -41.84)
CIE-LCHlch(40.10, 72.05, 324.50°)
OKLaboklab(50.92% 0.1576 -0.1167)
OKLCHoklch(50.92% 0.196 323.5)
XYZxyz(20.6261, 11.3110, 36.2116)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EA4 #3AA42E
analogous
#5D2EA4 #982EA4 #A42E75
triadic
#982EA4 #A4982E #2EA498
tetradic
#982EA4 #A45D2E #3AA42E #2E75A4
square
#982EA4 #A45D2E #3AA42E #2E75A4
split-complementary
#982EA4 #75A42E #2EA45D
monochromatic
#3F1344 #6C2174 #982EA4 #BD45CB #CE74D8

Accessibility & contrast

On white

6.44
#982EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#982EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EA4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EA4#FFFFFF#000000##FFFFFF
##982EA41.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0257A7
Deuteranopia (green-blind)
#4263A1
Tritanopia (blue-blind)
#9B4366
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982ea4;
/* rgb */ color: rgb(152, 46, 164);
/* oklch */ color: oklch(50.9% 0.196 323.5);
Tailwind
colors: {
  custom: {
    50: '#ba71bf',
    500: '#982ea4',
    950: '#000000',
  },
}
SCSS
$custom: #982ea4;
$custom-light: #ba71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#982ea4",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 293.898,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.19607,
    "h": 323.5
  },
  "luminance": 0.1131
}

Semantic roles & 50–950 ramp

primary
#982EA4
secondary
#76C06E
accent
#DF4858
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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