#982C9C#982C9C

#982C9C is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.192 H 326.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#982C9C
RGBrgb(152, 44, 156)
HSLhsl(298, 56%, 39%)
HSVhsv(298, 72%, 61%)
CMYKcmyk(2.6%, 71.8%, 0%, 38.8%)
CIE-LABlab(39.37, 57.96, -38.19)
CIE-LCHlch(39.37, 69.41, 326.62°)
OKLaboklab(50.25% 0.1598 -0.106)
OKLCHoklch(50.25% 0.192 326.4)
XYZxyz(19.8500, 10.8784, 32.5003)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C9C #309C2C
analogous
#602C9C #982C9C #9C2C68
triadic
#982C9C #9C982C #2C9C98
tetradic
#982C9C #9C602C #309C2C #2C689C
square
#982C9C #9C602C #309C2C #2C689C
split-complementary
#982C9C #689C2C #2C9C60
monochromatic
#3B113D #691F6C #982C9C #C33DC8 #D26DD6

Accessibility & contrast

On white

6.61
#982C9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#982C9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982C9C
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982C9C#FFFFFF#000000##FFFFFF
##982C9C1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12549F
Deuteranopia (green-blind)
#466199
Tritanopia (blue-blind)
#9C3E61
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982c9c;
/* rgb */ color: rgb(152, 44, 156);
/* oklch */ color: oklch(50.2% 0.192 326.4);
Tailwind
colors: {
  custom: {
    50: '#ba70ba',
    500: '#982c9c',
    950: '#000000',
  },
}
SCSS
$custom: #982c9c;
$custom-light: #ba70ba;
$custom-dark: #000000;
JSON
{
  "hex": "#982c9c",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 297.857,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50249,
    "c": 0.19173,
    "h": 326.4
  },
  "luminance": 0.10877
}

Semantic roles & 50–950 ramp

primary
#982C9C
secondary
#6ABD67
accent
#DF494E
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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