#982EA0#982EA0

#982EA0 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.193 H 324.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#982EA0
RGBrgb(152, 46, 160)
HSLhsl(296, 55%, 40%)
HSVhsv(296, 71%, 63%)
CMYKcmyk(5%, 71.2%, 0%, 37.3%)
CIE-LABlab(39.86, 57.94, -39.82)
CIE-LCHlch(39.86, 70.31, 325.50°)
OKLaboklab(50.67% 0.1577 -0.1108)
OKLCHoklch(50.67% 0.193 324.9)
XYZxyz(20.2706, 11.1687, 34.3390)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EA0 #36A02E
analogous
#5F2EA0 #982EA0 #A02E6F
triadic
#982EA0 #A0982E #2EA098
tetradic
#982EA0 #A05F2E #36A02E #2E6FA0
square
#982EA0 #A05F2E #36A02E #2E6FA0
split-complementary
#982EA0 #6FA02E #2EA05F
monochromatic
#3E1341 #6B2070 #982EA0 #BF42C9 #CF72D6

Accessibility & contrast

On white

6.49
#982EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#982EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EA0
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EA0#FFFFFF#000000##FFFFFF
##982EA01.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E56A3
Deuteranopia (green-blind)
#45629D
Tritanopia (blue-blind)
#9B4164
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982ea0;
/* rgb */ color: rgb(152, 46, 160);
/* oklch */ color: oklch(50.7% 0.193 324.9);
Tailwind
colors: {
  custom: {
    50: '#ba71bc',
    500: '#982ea0',
    950: '#000000',
  },
}
SCSS
$custom: #982ea0;
$custom-light: #ba71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#982ea0",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 295.789,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.1927,
    "h": 324.9
  },
  "luminance": 0.11167
}

Semantic roles & 50–950 ramp

primary
#982EA0
secondary
#72BE6C
accent
#DF4954
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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