#981C99#981C99

#981C99 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.205 H 327.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#981C99
RGBrgb(152, 28, 153)
HSLhsl(300, 69%, 35%)
HSVhsv(300, 82%, 60%)
CMYKcmyk(0.7%, 81.7%, 0%, 40%)
CIE-LABlab(37.49, 62.36, -39.36)
CIE-LCHlch(37.49, 73.74, 327.74°)
OKLaboklab(48.85% 0.1736 -0.1093)
OKLCHoklch(48.85% 0.205 327.8)
XYZxyz(19.1137, 9.8073, 31.0171)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C99 #1D991C
analogous
#591C99 #981C99 #991C5B
triadic
#981C99 #99981C #1C9998
tetradic
#981C99 #99591C #1D991C #1C5B99
square
#981C99 #99591C #1D991C #1C5B99
split-complementary
#981C99 #5B991C #1C9959
monochromatic
#310932 #651365 #981C99 #CB25CD #DE50DF

Accessibility & contrast

On white

7.09
#981C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#981C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C99
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C99#FFFFFF#000000##FFFFFF
##981C991.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#415E96
Tritanopia (blue-blind)
#9D335C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #981c99;
/* rgb */ color: rgb(152, 28, 153);
/* oklch */ color: oklch(48.9% 0.205 327.8);
Tailwind
colors: {
  custom: {
    50: '#ba6ab7',
    500: '#981c99',
    950: '#000000',
  },
}
SCSS
$custom: #981c99;
$custom-light: #ba6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#981c99",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 299.52,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48852,
    "c": 0.20516,
    "h": 327.8
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#981C99
secondary
#50C24F
accent
#EC3C3D
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981C99

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

Preview Lab → · Contrast checker → · Palette generator →

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