#982FA4#982FA4

#982FA4 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.195 H 323.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#982FA4
RGBrgb(152, 47, 164)
HSLhsl(294, 55%, 41%)
HSVhsv(294, 71%, 64%)
CMYKcmyk(7.3%, 71.3%, 0%, 35.7%)
CIE-LABlab(40.23, 58.29, -41.64)
CIE-LCHlch(40.23, 71.63, 324.46°)
OKLaboklab(51.01% 0.1566 -0.1161)
OKLCHoklch(51.01% 0.195 323.4)
XYZxyz(20.6656, 11.3900, 36.2247)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FA4 #3BA42F
analogous
#5E2FA4 #982FA4 #A42F76
triadic
#982FA4 #A4982F #2FA498
tetradic
#982FA4 #A45E2F #3BA42F #2F76A4
square
#982FA4 #A45E2F #3BA42F #2F76A4
split-complementary
#982FA4 #76A42F #2FA45E
monochromatic
#401445 #6C2174 #982FA4 #BD46CA #CE76D8

Accessibility & contrast

On white

6.41
#982FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#982FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FA4
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FA4#FFFFFF#000000##FFFFFF
##982FA41.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982fa4;
/* rgb */ color: rgb(152, 47, 164);
/* oklch */ color: oklch(51.0% 0.195 323.4);
Tailwind
colors: {
  custom: {
    50: '#ba72bf',
    500: '#982fa4',
    950: '#000000',
  },
}
SCSS
$custom: #982fa4;
$custom-light: #ba72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#982fa4",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 293.846,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51012,
    "c": 0.19489,
    "h": 323.4
  },
  "luminance": 0.11389
}

Semantic roles & 50–950 ramp

primary
#982FA4
secondary
#77C06F
accent
#DF4958
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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