#982C8B#982C8B

#982C8B is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.178 H 333.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#982C8B
RGBrgb(152, 44, 139)
HSLhsl(307, 55%, 38%)
HSVhsv(307, 71%, 60%)
CMYKcmyk(0%, 71.1%, 8.6%, 40.4%)
CIE-LABlab(38.45, 55.12, -29.31)
CIE-LCHlch(38.45, 62.43, 332.00°)
OKLaboklab(49.29% 0.1591 -0.0803)
OKLCHoklch(49.29% 0.178 333.2)
XYZxyz(18.5099, 10.3424, 25.4425)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C8B #2C9839
analogous
#6F2C98 #982C8B #982C55
triadic
#982C8B #8B982C #2C8B98
tetradic
#982C8B #986F2C #2C9839 #2C5598
square
#982C8B #986F2C #2C9839 #2C5598
split-complementary
#982C8B #55982C #2C986F
monochromatic
#391134 #691E60 #982C8B #C63BB5 #D46AC7

Accessibility & contrast

On white

6.84
#982C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#982C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982C8B
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982C8B#FFFFFF#000000##FFFFFF
##982C8B1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28518E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#9F3658
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982c8b;
/* rgb */ color: rgb(152, 44, 139);
/* oklch */ color: oklch(49.3% 0.178 333.2);
Tailwind
colors: {
  custom: {
    50: '#ba6fad',
    500: '#982c8b',
    950: '#000000',
  },
}
SCSS
$custom: #982c8b;
$custom-light: #ba6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#982c8b",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 307.222,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49285,
    "c": 0.17824,
    "h": 333.2
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

primary
#982C8B
secondary
#65BB6F
accent
#DE5B49
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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