#982DA5#982DA5

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

Color values

HEX#982DA5
RGBrgb(152, 45, 165)
HSLhsl(294, 57%, 41%)
HSVhsv(294, 73%, 65%)
CMYKcmyk(7.9%, 72.7%, 0%, 35.3%)
CIE-LABlab(40.03, 59.20, -42.55)
CIE-LCHlch(40.03, 72.91, 324.29°)
OKLaboklab(50.89% 0.1585 -0.1187)
OKLCHoklch(50.89% 0.198 323.2)
XYZxyz(20.6782, 11.2700, 36.6762)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DA5 #3AA52D
analogous
#5C2DA5 #982DA5 #A52D76
triadic
#982DA5 #A5982D #2DA598
tetradic
#982DA5 #A55C2D #3AA52D #2D76A5
square
#982DA5 #A55C2D #3AA52D #2D76A5
split-complementary
#982DA5 #76A52D #2DA55C
monochromatic
#3F1345 #6C2075 #982DA5 #BD43CC #CE73D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982DA5#FFFFFF#000000##FFFFFF
##982DA51.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4162A2
Tritanopia (blue-blind)
#9A4366
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982da5;
/* rgb */ color: rgb(152, 45, 165);
/* oklch */ color: oklch(50.9% 0.198 323.2);
Tailwind
colors: {
  custom: {
    50: '#ba71c0',
    500: '#982da5',
    950: '#000000',
  },
}
SCSS
$custom: #982da5;
$custom-light: #ba71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#982da5",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 293.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.19806,
    "h": 323.2
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#982DA5
secondary
#76C16D
accent
#E04758
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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