#982D8A#982D8A

#982D8A is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.3% C 0.176 H 333.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#982D8A
RGBrgb(152, 45, 138)
HSLhsl(308, 54%, 39%)
HSVhsv(308, 70%, 60%)
CMYKcmyk(0%, 70.4%, 9.2%, 40.4%)
CIE-LABlab(38.53, 54.59, -28.57)
CIE-LCHlch(38.53, 61.61, 332.38°)
OKLaboklab(49.33% 0.1579 -0.0782)
OKLCHoklch(49.33% 0.176 333.7)
XYZxyz(18.4748, 10.3887, 25.0720)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D8A #2D983B
analogous
#702D98 #982D8A #982D54
triadic
#982D8A #8A982D #2D8A98
tetradic
#982D8A #98702D #2D983B #2D5498
square
#982D8A #98702D #2D983B #2D5498
split-complementary
#982D8A #54982D #2D9870
monochromatic
#3A1134 #691F5F #982D8A #C53DB4 #D36CC6

Accessibility & contrast

On white

6.82
#982D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#982D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982D8A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D8A#FFFFFF#000000##FFFFFF
##982D8A1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518D
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#9F3658
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982d8a;
/* rgb */ color: rgb(152, 45, 138);
/* oklch */ color: oklch(49.3% 0.176 333.7);
Tailwind
colors: {
  custom: {
    50: '#ba70ac',
    500: '#982d8a',
    950: '#000000',
  },
}
SCSS
$custom: #982d8a;
$custom-light: #ba70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#982d8a",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 307.85,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49327,
    "c": 0.17623,
    "h": 333.7
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#982D8A
secondary
#66BA71
accent
#DE5D4A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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