#981D78#981D78

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

Color values

HEX#981D78
RGBrgb(152, 29, 120)
HSLhsl(316, 68%, 35%)
HSVhsv(316, 81%, 60%)
CMYKcmyk(0%, 80.9%, 21.1%, 40.4%)
CIE-LABlab(35.81, 57.15, -21.64)
CIE-LCHlch(35.81, 61.11, 339.26°)
OKLaboklab(47.08% 0.1715 -0.0583)
OKLCHoklch(47.08% 0.181 341.2)
XYZxyz(16.7790, 8.9120, 18.6022)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D78 #1D983D
analogous
#7A1D98 #981D78 #981D3A
triadic
#981D78 #78981D #1D7898
tetradic
#981D78 #987A1D #1D983D #1D3A98
square
#981D78 #987A1D #1D983D #1D3A98
split-complementary
#981D78 #3A981D #1D987A
monochromatic
#310927 #65134F #981D78 #CB27A1 #DE52B9

Accessibility & contrast

On white

7.55
#981D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981D78
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D78#FFFFFF#000000##FFFFFF
##981D781.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29487A
Deuteranopia (green-blind)
#515B75
Tritanopia (blue-blind)
#A22049
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #981d78;
/* rgb */ color: rgb(152, 29, 120);
/* oklch */ color: oklch(47.1% 0.181 341.2);
Tailwind
colors: {
  custom: {
    50: '#ba699f',
    500: '#981d78',
    950: '#000000',
  },
}
SCSS
$custom: #981d78;
$custom-light: #ba699f;
$custom-dark: #000000;
JSON
{
  "hex": "#981d78",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 315.61,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47079,
    "c": 0.18117,
    "h": 341.2
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#981D78
secondary
#50C16D
accent
#EB6A3D
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #981D78

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

Preview Lab → · Contrast checker → · Palette generator →

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