#971E78#971E78

#971E78 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.180 H 340.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#971E78
RGBrgb(151, 30, 120)
HSLhsl(315, 67%, 35%)
HSVhsv(315, 80%, 59%)
CMYKcmyk(0%, 80.1%, 20.5%, 40.8%)
CIE-LABlab(35.72, 56.63, -21.80)
CIE-LCHlch(35.72, 60.68, 338.95°)
OKLaboklab(46.98% 0.1698 -0.0588)
OKLCHoklch(46.98% 0.18 340.9)
XYZxyz(16.6175, 8.8656, 18.6018)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E78 #1E973D
analogous
#791E97 #971E78 #971E3B
triadic
#971E78 #78971E #1E7897
tetradic
#971E78 #97791E #1E973D #1E3B97
square
#971E78 #97791E #1E973D #1E3B97
split-complementary
#971E78 #3B971E #1E9779
monochromatic
#310A27 #64144F #971E78 #CA28A1 #DD53B9

Accessibility & contrast

On white

7.57
#971E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#971E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E78
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E78#FFFFFF#000000##FFFFFF
##971E781.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971e78;
/* rgb */ color: rgb(151, 30, 120);
/* oklch */ color: oklch(47.0% 0.180 340.9);
Tailwind
colors: {
  custom: {
    50: '#ba699f',
    500: '#971e78',
    950: '#000000',
  },
}
SCSS
$custom: #971e78;
$custom-light: #ba699f;
$custom-dark: #000000;
JSON
{
  "hex": "#971e78",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 315.372,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46979,
    "c": 0.17964,
    "h": 340.9
  },
  "luminance": 0.08864
}

Semantic roles & 50–950 ramp

primary
#971E78
secondary
#51C06D
accent
#EA6A3E
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971E78

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

Preview Lab → · Contrast checker → · Palette generator →

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