#981C7D#981C7D

#981C7D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.185 H 339.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#981C7D
RGBrgb(152, 28, 125)
HSLhsl(313, 69%, 35%)
HSVhsv(313, 82%, 60%)
CMYKcmyk(0%, 81.6%, 17.8%, 40.4%)
CIE-LABlab(35.96, 58.11, -24.54)
CIE-LCHlch(35.96, 63.08, 337.10°)
OKLaboklab(47.26% 0.173 -0.0665)
OKLCHoklch(47.26% 0.185 339)
XYZxyz(17.0663, 8.9883, 20.2342)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C7D #1C9837
analogous
#751C98 #981C7D #981C3F
triadic
#981C7D #7D981C #1C7D98
tetradic
#981C7D #98751C #1C9837 #1C3F98
square
#981C7D #98751C #1C9837 #1C3F98
split-complementary
#981C7D #3F981C #1C9875
monochromatic
#310928 #641252 #981C7D #CC26A7 #DF50C0

Accessibility & contrast

On white

7.51
#981C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#981C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C7D
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C7D#FFFFFF#000000##FFFFFF
##981C7D1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#4F5B7A
Tritanopia (blue-blind)
#A1234C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981c7d;
/* rgb */ color: rgb(152, 28, 125);
/* oklch */ color: oklch(47.3% 0.185 339.0);
Tailwind
colors: {
  custom: {
    50: '#ba68a3',
    500: '#981c7d',
    950: '#000000',
  },
}
SCSS
$custom: #981c7d;
$custom-light: #ba68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#981c7d",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 313.065,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47263,
    "c": 0.18531,
    "h": 339
  },
  "luminance": 0.08987
}

Semantic roles & 50–950 ramp

primary
#981C7D
secondary
#4EC167
accent
#EC623C
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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