#982DA7#982DA7

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

Color values

HEX#982DA7
RGBrgb(152, 45, 167)
HSLhsl(293, 58%, 42%)
HSVhsv(293, 73%, 65%)
CMYKcmyk(9%, 73.1%, 0%, 34.5%)
CIE-LABlab(40.15, 59.57, -43.55)
CIE-LCHlch(40.15, 73.79, 323.83°)
OKLaboklab(51.02% 0.1584 -0.1217)
OKLCHoklch(51.02% 0.2 322.5)
XYZxyz(20.8616, 11.3434, 37.6424)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DA7 #3CA72D
analogous
#5B2DA7 #982DA7 #A72D79
triadic
#982DA7 #A7982D #2DA798
tetradic
#982DA7 #A75B2D #3CA72D #2D79A7
square
#982DA7 #A75B2D #3CA72D #2D79A7
split-complementary
#982DA7 #79A72D #2DA75B
monochromatic
#401347 #6C2077 #982DA7 #BC44CD #CD75DA

Accessibility & contrast

On white

6.43
#982DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#982DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DA7
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DA7#FFFFFF#000000##FFFFFF
##982DA71.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#3F63A4
Tritanopia (blue-blind)
#9A4368
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982da7;
/* rgb */ color: rgb(152, 45, 167);
/* oklch */ color: oklch(51.0% 0.200 322.5);
Tailwind
colors: {
  custom: {
    50: '#ba71c2',
    500: '#982da7',
    950: '#000000',
  },
}
SCSS
$custom: #982da7;
$custom-light: #ba71c2;
$custom-dark: #000000;
JSON
{
  "hex": "#982da7",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 292.623,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51015,
    "c": 0.19975,
    "h": 322.5
  },
  "luminance": 0.11342
}

Semantic roles & 50–950 ramp

primary
#982DA7
secondary
#79C16E
accent
#E1475A
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #982DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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