#982FA1#982FA1

#982FA1 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.192 H 324.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#982FA1
RGBrgb(152, 47, 161)
HSLhsl(295, 55%, 41%)
HSVhsv(295, 71%, 63%)
CMYKcmyk(5.6%, 70.8%, 0%, 36.9%)
CIE-LABlab(40.05, 57.75, -40.12)
CIE-LCHlch(40.05, 70.32, 325.21°)
OKLaboklab(50.83% 0.1566 -0.1116)
OKLCHoklch(50.83% 0.192 324.5)
XYZxyz(20.3979, 11.2829, 34.8147)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FA1 #38A12F
analogous
#5F2FA1 #982FA1 #A12F71
triadic
#982FA1 #A1982F #2FA198
tetradic
#982FA1 #A15F2F #38A12F #2F71A1
square
#982FA1 #A15F2F #38A12F #2F71A1
split-complementary
#982FA1 #71A12F #2FA15F
monochromatic
#3F1342 #6B2172 #982FA1 #BE45C9 #CF74D6

Accessibility & contrast

On white

6.45
#982FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#982FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FA1
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FA1#FFFFFF#000000##FFFFFF
##982FA11.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F56A4
Deuteranopia (green-blind)
#44639E
Tritanopia (blue-blind)
#9B4265
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982fa1;
/* rgb */ color: rgb(152, 47, 161);
/* oklch */ color: oklch(50.8% 0.192 324.5);
Tailwind
colors: {
  custom: {
    50: '#ba71bd',
    500: '#982fa1',
    950: '#000000',
  },
}
SCSS
$custom: #982fa1;
$custom-light: #ba71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#982fa1",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 295.263,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50828,
    "c": 0.19236,
    "h": 324.5
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#982FA1
secondary
#74BE6E
accent
#DE4A55
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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