#981C79#981C79

#981C79 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.183 H 340.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#981C79
RGBrgb(152, 28, 121)
HSLhsl(315, 69%, 35%)
HSVhsv(315, 82%, 60%)
CMYKcmyk(0%, 81.6%, 20.4%, 40.4%)
CIE-LABlab(35.77, 57.55, -22.34)
CIE-LCHlch(35.77, 61.74, 338.79°)
OKLaboklab(47.06% 0.1725 -0.0603)
OKLCHoklch(47.06% 0.183 340.7)
XYZxyz(16.8159, 8.8881, 18.9154)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C79 #1C983B
analogous
#791C98 #981C79 #981C3B
triadic
#981C79 #79981C #1C7998
tetradic
#981C79 #98791C #1C983B #1C3B98
square
#981C79 #98791C #1C983B #1C3B98
split-complementary
#981C79 #3B981C #1C9879
monochromatic
#310927 #641250 #981C79 #CC26A2 #DF50BB

Accessibility & contrast

On white

7.56
#981C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#981C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C79
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C79#FFFFFF#000000##FFFFFF
##981C791.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#515B76
Tritanopia (blue-blind)
#A2204A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #981c79;
/* rgb */ color: rgb(152, 28, 121);
/* oklch */ color: oklch(47.1% 0.183 340.7);
Tailwind
colors: {
  custom: {
    50: '#ba68a0',
    500: '#981c79',
    950: '#000000',
  },
}
SCSS
$custom: #981c79;
$custom-light: #ba68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#981c79",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 315,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47061,
    "c": 0.18272,
    "h": 340.7
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

primary
#981C79
secondary
#4EC16B
accent
#EC683C
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #981C79

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

Preview Lab → · Contrast checker → · Palette generator →

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