#982FA9#982FA9

#982FA9 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.199 H 321.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#982FA9
RGBrgb(152, 47, 169)
HSLhsl(292, 56%, 42%)
HSVhsv(292, 72%, 66%)
CMYKcmyk(10.1%, 72.2%, 0%, 33.7%)
CIE-LABlab(40.53, 59.21, -44.14)
CIE-LCHlch(40.53, 73.85, 323.29°)
OKLaboklab(51.32% 0.1564 -0.1234)
OKLCHoklch(51.32% 0.199 321.7)
XYZxyz(21.1261, 11.5742, 38.6497)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FA9 #40A92F
analogous
#5B2FA9 #982FA9 #A92F7D
triadic
#982FA9 #A9982F #2FA998
tetradic
#982FA9 #A95B2F #40A92F #2F7DA9
square
#982FA9 #A95B2F #40A92F #2F7DA9
split-complementary
#982FA9 #7DA92F #2FA95B
monochromatic
#421449 #6D2279 #982FA9 #BA49CC #CC79DA

Accessibility & contrast

On white

6.34
#982FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#982FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FA9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FA9#FFFFFF#000000##FFFFFF
##982FA91.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#3F63A6
Tritanopia (blue-blind)
#9A4669
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982fa9;
/* rgb */ color: rgb(152, 47, 169);
/* oklch */ color: oklch(51.3% 0.199 321.7);
Tailwind
colors: {
  custom: {
    50: '#ba72c3',
    500: '#982fa9',
    950: '#000000',
  },
}
SCSS
$custom: #982fa9;
$custom-light: #ba72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#982fa9",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 291.639,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51324,
    "c": 0.19917,
    "h": 321.7
  },
  "luminance": 0.11573
}

Semantic roles & 50–950 ramp

primary
#982FA9
secondary
#7DC272
accent
#E0485D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #982FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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