#982D78#982D78

#982D78 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.163 H 342.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#982D78
RGBrgb(152, 45, 120)
HSLhsl(318, 54%, 39%)
HSVhsv(318, 70%, 60%)
CMYKcmyk(0%, 70.4%, 21.1%, 40.4%)
CIE-LABlab(37.68, 51.86, -18.75)
CIE-LCHlch(37.68, 55.15, 340.12°)
OKLaboklab(48.43% 0.1554 -0.0503)
OKLCHoklch(48.43% 0.163 342.1)
XYZxyz(17.2780, 9.9099, 18.7685)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D78 #2D984D
analogous
#822D98 #982D78 #982D42
triadic
#982D78 #78982D #2D7898
tetradic
#982D78 #98822D #2D984D #2D4298
square
#982D78 #98822D #2D984D #2D4298
split-complementary
#982D78 #42982D #2D9882
monochromatic
#3A112D #691F53 #982D78 #C53D9D #D36CB5

Accessibility & contrast

On white

7.04
#982D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#982D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982D78
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D78#FFFFFF#000000##FFFFFF
##982D781.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7A
Deuteranopia (green-blind)
#575F75
Tritanopia (blue-blind)
#A12E4E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982d78;
/* rgb */ color: rgb(152, 45, 120);
/* oklch */ color: oklch(48.4% 0.163 342.1);
Tailwind
colors: {
  custom: {
    50: '#ba6f9f',
    500: '#982d78',
    950: '#000000',
  },
}
SCSS
$custom: #982d78;
$custom-light: #ba6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#982d78",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 317.944,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48431,
    "c": 0.16332,
    "h": 342.1
  },
  "luminance": 0.09908
}

Semantic roles & 50–950 ramp

primary
#982D78
secondary
#66BA7F
accent
#DE764A
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #982D78

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

Preview Lab → · Contrast checker → · Palette generator →

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