#982EA3#982EA3

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

Color values

HEX#982EA3
RGBrgb(152, 46, 163)
HSLhsl(294, 56%, 41%)
HSVhsv(294, 72%, 64%)
CMYKcmyk(6.7%, 71.8%, 0%, 36.1%)
CIE-LABlab(40.04, 58.48, -41.34)
CIE-LCHlch(40.04, 71.61, 324.74°)
OKLaboklab(50.86% 0.1576 -0.1152)
OKLCHoklch(50.86% 0.195 323.8)
XYZxyz(20.5362, 11.2750, 35.7378)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EA3 #39A32E
analogous
#5D2EA3 #982EA3 #A32E73
triadic
#982EA3 #A3982E #2EA398
tetradic
#982EA3 #A35D2E #39A32E #2E73A3
square
#982EA3 #A35D2E #39A32E #2E73A3
split-complementary
#982EA3 #73A32E #2EA35D
monochromatic
#3F1344 #6B2173 #982EA3 #BE44CA #CE74D8

Accessibility & contrast

On white

6.45
#982EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#982EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EA3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EA3#FFFFFF#000000##FFFFFF
##982EA31.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0556A6
Deuteranopia (green-blind)
#4363A0
Tritanopia (blue-blind)
#9B4266
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982ea3;
/* rgb */ color: rgb(152, 46, 163);
/* oklch */ color: oklch(50.9% 0.195 323.8);
Tailwind
colors: {
  custom: {
    50: '#ba71bf',
    500: '#982ea3',
    950: '#000000',
  },
}
SCSS
$custom: #982ea3;
$custom-light: #ba71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#982ea3",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 294.359,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50857,
    "c": 0.19522,
    "h": 323.8
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

primary
#982EA3
secondary
#75BF6D
accent
#DF4957
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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