#982FA6#982FA6

#982FA6 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.197 H 322.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#982FA6
RGBrgb(152, 47, 166)
HSLhsl(293, 56%, 42%)
HSVhsv(293, 72%, 65%)
CMYKcmyk(8.4%, 71.7%, 0%, 34.9%)
CIE-LABlab(40.35, 58.65, -42.64)
CIE-LCHlch(40.35, 72.52, 323.98°)
OKLaboklab(51.14% 0.1565 -0.119)
OKLCHoklch(51.14% 0.197 322.7)
XYZxyz(20.8477, 11.4628, 37.1834)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FA6 #3DA62F
analogous
#5D2FA6 #982FA6 #A62F79
triadic
#982FA6 #A6982F #2FA698
tetradic
#982FA6 #A65D2F #3DA62F #2F79A6
square
#982FA6 #A65D2F #3DA62F #2F79A6
split-complementary
#982FA6 #79A62F #2FA65D
monochromatic
#411447 #6C2176 #982FA6 #BB47CB #CD77D8

Accessibility & contrast

On white

6.38
#982FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#982FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FA6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FA6#FFFFFF#000000##FFFFFF
##982FA61.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4163A3
Tritanopia (blue-blind)
#9A4467
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982fa6;
/* rgb */ color: rgb(152, 47, 166);
/* oklch */ color: oklch(51.1% 0.197 322.7);
Tailwind
colors: {
  custom: {
    50: '#ba72c1',
    500: '#982fa6',
    950: '#000000',
  },
}
SCSS
$custom: #982fa6;
$custom-light: #ba72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#982fa6",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 292.941,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51136,
    "c": 0.1966,
    "h": 322.7
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#982FA6
secondary
#7AC170
accent
#DF495A
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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