#982C99#982C99

#982C99 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.189 H 327.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#982C99
RGBrgb(152, 44, 153)
HSLhsl(299, 55%, 39%)
HSVhsv(299, 71%, 60%)
CMYKcmyk(0.7%, 71.2%, 0%, 40%)
CIE-LABlab(39.20, 57.45, -36.65)
CIE-LCHlch(39.20, 68.14, 327.47°)
OKLaboklab(50.07% 0.1598 -0.1015)
OKLCHoklch(50.07% 0.189 327.6)
XYZxyz(19.5991, 10.7780, 31.1789)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C99 #2D992C
analogous
#612C99 #982C99 #992C63
triadic
#982C99 #99982C #2C9998
tetradic
#982C99 #99612C #2D992C #2C6399
square
#982C99 #99612C #2D992C #2C6399
split-complementary
#982C99 #63992C #2C9961
monochromatic
#3A113A #691E69 #982C99 #C53BC7 #D36BD4

Accessibility & contrast

On white

6.66
#982C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#982C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982C99
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982C99#FFFFFF#000000##FFFFFF
##982C991.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539C
Deuteranopia (green-blind)
#486196
Tritanopia (blue-blind)
#9D3C60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982c99;
/* rgb */ color: rgb(152, 44, 153);
/* oklch */ color: oklch(50.1% 0.189 327.6);
Tailwind
colors: {
  custom: {
    50: '#ba70b7',
    500: '#982c99',
    950: '#000000',
  },
}
SCSS
$custom: #982c99;
$custom-light: #ba70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#982c99",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 299.45,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50072,
    "c": 0.18928,
    "h": 327.6
  },
  "luminance": 0.10777
}

Semantic roles & 50–950 ramp

primary
#982C99
secondary
#66BB66
accent
#DF494B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982C99

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

Preview Lab → · Contrast checker → · Palette generator →

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