#982DA6#982DA6

#982DA6 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 51.0% C 0.199 H 322.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#982DA6
RGBrgb(152, 45, 166)
HSLhsl(293, 57%, 41%)
HSVhsv(293, 73%, 65%)
CMYKcmyk(8.4%, 72.9%, 0%, 34.9%)
CIE-LABlab(40.09, 59.38, -43.05)
CIE-LCHlch(40.09, 73.35, 324.06°)
OKLaboklab(50.95% 0.1585 -0.1202)
OKLCHoklch(50.95% 0.199 322.8)
XYZxyz(20.7695, 11.3066, 37.1574)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DA6 #3BA62D
analogous
#5C2DA6 #982DA6 #A62D78
triadic
#982DA6 #A6982D #2DA698
tetradic
#982DA6 #A65C2D #3BA62D #2D78A6
square
#982DA6 #A65C2D #3BA62D #2D78A6
split-complementary
#982DA6 #78A62D #2DA65C
monochromatic
#401346 #6C2076 #982DA6 #BD44CC #CE74D9

Accessibility & contrast

On white

6.44
#982DA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982DA6
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DA6#FFFFFF#000000##FFFFFF
##982DA61.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4063A3
Tritanopia (blue-blind)
#9A4367
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982da6;
/* rgb */ color: rgb(152, 45, 166);
/* oklch */ color: oklch(51.0% 0.199 322.8);
Tailwind
colors: {
  custom: {
    50: '#ba71c1',
    500: '#982da6',
    950: '#000000',
  },
}
SCSS
$custom: #982da6;
$custom-light: #ba71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#982da6",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 293.058,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50952,
    "c": 0.1989,
    "h": 322.8
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#982DA6
secondary
#77C16E
accent
#E14759
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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