#982C8A#982C8A

#982C8A is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.177 H 333.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#982C8A
RGBrgb(152, 44, 138)
HSLhsl(308, 55%, 38%)
HSVhsv(308, 71%, 60%)
CMYKcmyk(0%, 71.1%, 9.2%, 40.4%)
CIE-LABlab(38.40, 54.96, -28.77)
CIE-LCHlch(38.40, 62.04, 332.37°)
OKLaboklab(49.23% 0.159 -0.0788)
OKLCHoklch(49.23% 0.177 333.6)
XYZxyz(18.4371, 10.3133, 25.0594)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C8A #2C983A
analogous
#702C98 #982C8A #982C54
triadic
#982C8A #8A982C #2C8A98
tetradic
#982C8A #98702C #2C983A #2C5498
square
#982C8A #98702C #2C983A #2C5498
split-complementary
#982C8A #54982C #2C9870
monochromatic
#391134 #691E5F #982C8A #C63BB4 #D46AC6

Accessibility & contrast

On white

6.86
#982C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#982C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982C8A
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982C8A#FFFFFF#000000##FFFFFF
##982C8A1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508D
Deuteranopia (green-blind)
#4F6087
Tritanopia (blue-blind)
#9F3657
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982c8a;
/* rgb */ color: rgb(152, 44, 138);
/* oklch */ color: oklch(49.2% 0.177 333.6);
Tailwind
colors: {
  custom: {
    50: '#ba6fac',
    500: '#982c8a',
    950: '#000000',
  },
}
SCSS
$custom: #982c8a;
$custom-light: #ba6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#982c8a",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 307.778,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49231,
    "c": 0.17747,
    "h": 333.6
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#982C8A
secondary
#65BB70
accent
#DE5D49
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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