#982E78#982E78

#982E78 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.162 H 342.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#982E78
RGBrgb(152, 46, 120)
HSLhsl(318, 54%, 39%)
HSVhsv(318, 70%, 60%)
CMYKcmyk(0%, 69.7%, 21.1%, 40.4%)
CIE-LABlab(37.82, 51.47, -18.54)
CIE-LCHlch(37.82, 54.71, 340.19°)
OKLaboklab(48.53% 0.1542 -0.0497)
OKLCHoklch(48.53% 0.162 342.1)
XYZxyz(17.3166, 9.9871, 18.7814)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E78 #2E984E
analogous
#832E98 #982E78 #982E43
triadic
#982E78 #78982E #2E7898
tetradic
#982E78 #98832E #2E984E #2E4398
square
#982E78 #98832E #2E984E #2E4398
split-complementary
#982E78 #43982E #2E9883
monochromatic
#3A122E #692053 #982E78 #C53E9C #D36DB4

Accessibility & contrast

On white

7.01
#982E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#982E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982E78
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E78#FFFFFF#000000##FFFFFF
##982E781.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982e78;
/* rgb */ color: rgb(152, 46, 120);
/* oklch */ color: oklch(48.5% 0.162 342.1);
Tailwind
colors: {
  custom: {
    50: '#ba709f',
    500: '#982e78',
    950: '#000000',
  },
}
SCSS
$custom: #982e78;
$custom-light: #ba709f;
$custom-dark: #000000;
JSON
{
  "hex": "#982e78",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 318.113,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48533,
    "c": 0.16201,
    "h": 342.1
  },
  "luminance": 0.09985
}

Semantic roles & 50–950 ramp

primary
#982E78
secondary
#68BA81
accent
#DD774B
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #982E78

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

Preview Lab → · Contrast checker → · Palette generator →

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