#982DAD#982DAD

#982DAD is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.205 H 320.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#982DAD
RGBrgb(152, 45, 173)
HSLhsl(290, 59%, 43%)
HSVhsv(290, 74%, 68%)
CMYKcmyk(12.1%, 74%, 0%, 32.2%)
CIE-LABlab(40.52, 60.67, -46.53)
CIE-LCHlch(40.52, 76.46, 322.51°)
OKLaboklab(51.4% 0.158 -0.1304)
OKLCHoklch(51.4% 0.205 320.5)
XYZxyz(21.4292, 11.5704, 40.6316)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DAD #42AD2D
analogous
#582DAD #982DAD #AD2D82
triadic
#982DAD #AD982D #2DAD98
tetradic
#982DAD #AD582D #42AD2D #2D82AD
square
#982DAD #AD582D #42AD2D #2D82AD
split-complementary
#982DAD #82AD2D #2DAD58
monochromatic
#43144C #6D207C #982DAD #B948CF #CC78DC

Accessibility & contrast

On white

6.34
#982DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#982DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DAD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DAD#FFFFFF#000000##FFFFFF
##982DAD1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#3A63AA
Tritanopia (blue-blind)
#99466B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982dad;
/* rgb */ color: rgb(152, 45, 173);
/* oklch */ color: oklch(51.4% 0.205 320.5);
Tailwind
colors: {
  custom: {
    50: '#ba71c6',
    500: '#982dad',
    950: '#000000',
  },
}
SCSS
$custom: #982dad;
$custom-light: #ba71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#982dad",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 290.156,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51399,
    "c": 0.20485,
    "h": 320.5
  },
  "luminance": 0.11569
}

Semantic roles & 50–950 ramp

primary
#982DAD
secondary
#7FC472
accent
#E2465F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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