#981C97#981C97

#981C97 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.204 H 328.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#981C97
RGBrgb(152, 28, 151)
HSLhsl(300, 69%, 35%)
HSVhsv(300, 82%, 60%)
CMYKcmyk(0%, 81.6%, 0.7%, 40.4%)
CIE-LABlab(37.37, 62.03, -38.34)
CIE-LCHlch(37.37, 72.92, 328.28°)
OKLaboklab(48.73% 0.1737 -0.1063)
OKLCHoklch(48.73% 0.204 328.5)
XYZxyz(18.9499, 9.7417, 30.1544)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C97 #1C981D
analogous
#5B1C98 #981C97 #981C59
triadic
#981C97 #97981C #1C9798
tetradic
#981C97 #985B1C #1C981D #1C5998
square
#981C97 #985B1C #1C981D #1C5998
split-complementary
#981C97 #59981C #1C985B
monochromatic
#310930 #641264 #981C97 #CC26CA #DF50DE

Accessibility & contrast

On white

7.12
#981C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#981C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C97
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C97#FFFFFF#000000##FFFFFF
##981C971.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#9D325B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #981c97;
/* rgb */ color: rgb(152, 28, 151);
/* oklch */ color: oklch(48.7% 0.204 328.5);
Tailwind
colors: {
  custom: {
    50: '#ba6ab6',
    500: '#981c97',
    950: '#000000',
  },
}
SCSS
$custom: #981c97;
$custom-light: #ba6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#981c97",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 300.484,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.20367,
    "h": 328.5
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#981C97
secondary
#4EC14F
accent
#EC3D3C
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981C97

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

Preview Lab → · Contrast checker → · Palette generator →

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