#982DA4#982DA4

#982DA4 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.197 H 323.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#982DA4
RGBrgb(152, 45, 164)
HSLhsl(294, 57%, 41%)
HSVhsv(294, 73%, 64%)
CMYKcmyk(7.3%, 72.6%, 0%, 35.7%)
CIE-LABlab(39.97, 59.02, -42.05)
CIE-LCHlch(39.97, 72.47, 324.53°)
OKLaboklab(50.83% 0.1586 -0.1173)
OKLCHoklch(50.83% 0.197 323.5)
XYZxyz(20.5875, 11.2337, 36.1987)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DA4 #39A42D
analogous
#5C2DA4 #982DA4 #A42D74
triadic
#982DA4 #A4982D #2DA498
tetradic
#982DA4 #A45C2D #39A42D #2D74A4
square
#982DA4 #A45C2D #39A42D #2D74A4
split-complementary
#982DA4 #74A42D #2DA45C
monochromatic
#3F1344 #6B2074 #982DA4 #BE43CB #CE73D9

Accessibility & contrast

On white

6.47
#982DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#982DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DA4
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DA4#FFFFFF#000000##FFFFFF
##982DA41.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4162A1
Tritanopia (blue-blind)
#9B4266
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982da4;
/* rgb */ color: rgb(152, 45, 164);
/* oklch */ color: oklch(50.8% 0.197 323.5);
Tailwind
colors: {
  custom: {
    50: '#ba71bf',
    500: '#982da4',
    950: '#000000',
  },
}
SCSS
$custom: #982da4;
$custom-light: #ba71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#982da4",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 293.95,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50827,
    "c": 0.19722,
    "h": 323.5
  },
  "luminance": 0.11233
}

Semantic roles & 50–950 ramp

primary
#982DA4
secondary
#75C06D
accent
#E04857
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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