#982DA3#982DA3

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

Color values

HEX#982DA3
RGBrgb(152, 45, 163)
HSLhsl(294, 57%, 41%)
HSVhsv(294, 72%, 64%)
CMYKcmyk(6.7%, 72.4%, 0%, 36.1%)
CIE-LABlab(39.91, 58.84, -41.54)
CIE-LCHlch(39.91, 72.03, 324.78°)
OKLaboklab(50.77% 0.1586 -0.1158)
OKLCHoklch(50.77% 0.196 323.9)
XYZxyz(20.4976, 11.1978, 35.7250)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DA3 #38A32D
analogous
#5D2DA3 #982DA3 #A32D73
triadic
#982DA3 #A3982D #2DA398
tetradic
#982DA3 #A35D2D #38A32D #2D73A3
square
#982DA3 #A35D2D #38A32D #2D73A3
split-complementary
#982DA3 #73A32D #2DA35D
monochromatic
#3F1343 #6B2073 #982DA3 #BE42CB #CF72D8

Accessibility & contrast

On white

6.48
#982DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#982DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DA3
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DA3#FFFFFF#000000##FFFFFF
##982DA31.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0156A6
Deuteranopia (green-blind)
#4262A0
Tritanopia (blue-blind)
#9B4265
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982da3;
/* rgb */ color: rgb(152, 45, 163);
/* oklch */ color: oklch(50.8% 0.196 323.9);
Tailwind
colors: {
  custom: {
    50: '#ba71bf',
    500: '#982da3',
    950: '#000000',
  },
}
SCSS
$custom: #982da3;
$custom-light: #ba71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#982da3",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 294.407,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50765,
    "c": 0.19638,
    "h": 323.9
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#982DA3
secondary
#74C06C
accent
#E04856
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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