#982FA7#982FA7

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

Color values

HEX#982FA7
RGBrgb(152, 47, 167)
HSLhsl(293, 56%, 42%)
HSVhsv(293, 72%, 65%)
CMYKcmyk(9%, 71.9%, 0%, 34.5%)
CIE-LABlab(40.41, 58.84, -43.14)
CIE-LCHlch(40.41, 72.96, 323.75°)
OKLaboklab(51.2% 0.1565 -0.1205)
OKLCHoklch(51.2% 0.197 322.4)
XYZxyz(20.9397, 11.4996, 37.6684)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FA7 #3EA72F
analogous
#5C2FA7 #982FA7 #A72F7A
triadic
#982FA7 #A7982F #2FA798
tetradic
#982FA7 #A75C2F #3EA72F #2F7AA7
square
#982FA7 #A75C2F #3EA72F #2F7AA7
split-complementary
#982FA7 #7AA72F #2FA75C
monochromatic
#411447 #6D2277 #982FA7 #BB48CB #CD78D9

Accessibility & contrast

On white

6.36
#982FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#982FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FA7
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FA7#FFFFFF#000000##FFFFFF
##982FA71.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#4063A4
Tritanopia (blue-blind)
#9A4568
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982fa7;
/* rgb */ color: rgb(152, 47, 167);
/* oklch */ color: oklch(51.2% 0.197 322.4);
Tailwind
colors: {
  custom: {
    50: '#ba72c2',
    500: '#982fa7',
    950: '#000000',
  },
}
SCSS
$custom: #982fa7;
$custom-light: #ba72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#982fa7",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 292.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51198,
    "c": 0.19746,
    "h": 322.4
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#982FA7
secondary
#7BC171
accent
#DF485B
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #982FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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