#982FA3#982FA3

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

Color values

HEX#982FA3
RGBrgb(152, 47, 163)
HSLhsl(294, 55%, 41%)
HSVhsv(294, 71%, 64%)
CMYKcmyk(6.7%, 71.2%, 0%, 36.1%)
CIE-LABlab(40.17, 58.11, -41.13)
CIE-LCHlch(40.17, 71.19, 324.71°)
OKLaboklab(50.95% 0.1566 -0.1146)
OKLCHoklch(50.95% 0.194 323.8)
XYZxyz(20.5757, 11.3540, 35.7510)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FA3 #3AA32F
analogous
#5E2FA3 #982FA3 #A32F74
triadic
#982FA3 #A3982F #2FA398
tetradic
#982FA3 #A35E2F #3AA32F #2F74A3
square
#982FA3 #A35E2F #3AA32F #2F74A3
split-complementary
#982FA3 #74A32F #2FA35E
monochromatic
#3F1444 #6C2173 #982FA3 #BD46CA #CE75D7

Accessibility & contrast

On white

6.42
#982FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#982FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FA3
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FA3#FFFFFF#000000##FFFFFF
##982FA31.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0957A6
Deuteranopia (green-blind)
#4363A0
Tritanopia (blue-blind)
#9B4366
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982fa3;
/* rgb */ color: rgb(152, 47, 163);
/* oklch */ color: oklch(50.9% 0.194 323.8);
Tailwind
colors: {
  custom: {
    50: '#ba72bf',
    500: '#982fa3',
    950: '#000000',
  },
}
SCSS
$custom: #982fa3;
$custom-light: #ba72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#982fa3",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 294.31,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5095,
    "c": 0.19405,
    "h": 323.8
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#982FA3
secondary
#76BF6F
accent
#DF4957
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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