#982DA1#982DA1

#982DA1 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.195 H 324.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#982DA1
RGBrgb(152, 45, 161)
HSLhsl(295, 56%, 40%)
HSVhsv(295, 72%, 63%)
CMYKcmyk(5.6%, 72%, 0%, 36.9%)
CIE-LABlab(39.79, 58.48, -40.53)
CIE-LCHlch(39.79, 71.16, 325.28°)
OKLaboklab(50.64% 0.1587 -0.1128)
OKLCHoklch(50.64% 0.195 324.6)
XYZxyz(20.3198, 11.1267, 34.7887)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DA1 #36A12D
analogous
#5E2DA1 #982DA1 #A12D70
triadic
#982DA1 #A1982D #2DA198
tetradic
#982DA1 #A15E2D #36A12D #2D70A1
square
#982DA1 #A15E2D #36A12D #2D70A1
split-complementary
#982DA1 #70A12D #2DA15E
monochromatic
#3E1241 #6B2071 #982DA1 #BF41CA #CF71D7

Accessibility & contrast

On white

6.51
#982DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#982DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DA1
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DA1#FFFFFF#000000##FFFFFF
##982DA11.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0855A4
Deuteranopia (green-blind)
#43629E
Tritanopia (blue-blind)
#9B4164
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982da1;
/* rgb */ color: rgb(152, 45, 161);
/* oklch */ color: oklch(50.6% 0.195 324.6);
Tailwind
colors: {
  custom: {
    50: '#ba71bd',
    500: '#982da1',
    950: '#000000',
  },
}
SCSS
$custom: #982da1;
$custom-light: #ba71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#982da1",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 295.345,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50642,
    "c": 0.1947,
    "h": 324.6
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#982DA1
secondary
#72BF6B
accent
#E04854
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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