#982C8D#982C8D

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

Color values

HEX#982C8D
RGBrgb(152, 44, 141)
HSLhsl(306, 55%, 38%)
HSVhsv(306, 71%, 60%)
CMYKcmyk(0%, 71.1%, 7.2%, 40.4%)
CIE-LABlab(38.55, 55.44, -30.37)
CIE-LCHlch(38.55, 63.21, 331.29°)
OKLaboklab(49.39% 0.1593 -0.0834)
OKLCHoklch(49.39% 0.18 332.4)
XYZxyz(18.6573, 10.4014, 26.2192)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C8D #2C9837
analogous
#6D2C98 #982C8D #982C57
triadic
#982C8D #8D982C #2C8D98
tetradic
#982C8D #986D2C #2C9837 #2C5798
square
#982C8D #986D2C #2C9837 #2C5798
split-complementary
#982C8D #57982C #2C986D
monochromatic
#391135 #691E61 #982C8D #C63BB8 #D46AC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982C8D#FFFFFF#000000##FFFFFF
##982C8D1.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)
#265190
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#9F3759
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982c8d;
/* rgb */ color: rgb(152, 44, 141);
/* oklch */ color: oklch(49.4% 0.180 332.4);
Tailwind
colors: {
  custom: {
    50: '#ba6fae',
    500: '#982c8d',
    950: '#000000',
  },
}
SCSS
$custom: #982c8d;
$custom-light: #ba6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#982c8d",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 306.111,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49393,
    "c": 0.17977,
    "h": 332.4
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#982C8D
secondary
#65BB6E
accent
#DE5949
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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