#971E7F#971E7F

#971E7F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.184 H 337.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#971E7F
RGBrgb(151, 30, 127)
HSLhsl(312, 67%, 35%)
HSVhsv(312, 80%, 59%)
CMYKcmyk(0%, 80.1%, 15.9%, 40.8%)
CIE-LABlab(36.06, 57.62, -25.64)
CIE-LCHlch(36.06, 63.06, 336.01°)
OKLaboklab(47.34% 0.1706 -0.0697)
OKLCHoklch(47.34% 0.184 337.8)
XYZxyz(17.0579, 9.0418, 20.9214)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E7F #1E9736
analogous
#721E97 #971E7F #971E42
triadic
#971E7F #7F971E #1E7F97
tetradic
#971E7F #97721E #1E9736 #1E4297
square
#971E7F #97721E #1E9736 #1E4297
split-complementary
#971E7F #42971E #1E9772
monochromatic
#310A29 #641454 #971E7F #CA28AA #DD53C1

Accessibility & contrast

On white

7.48
#971E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#971E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E7F
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E7F#FFFFFF#000000##FFFFFF
##971E7F1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244982
Deuteranopia (green-blind)
#4E5B7C
Tritanopia (blue-blind)
#A0264D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971e7f;
/* rgb */ color: rgb(151, 30, 127);
/* oklch */ color: oklch(47.3% 0.184 337.8);
Tailwind
colors: {
  custom: {
    50: '#b969a4',
    500: '#971e7f',
    950: '#000000',
  },
}
SCSS
$custom: #971e7f;
$custom-light: #b969a4;
$custom-dark: #000000;
JSON
{
  "hex": "#971e7f",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 311.901,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47335,
    "c": 0.18426,
    "h": 337.8
  },
  "luminance": 0.0904
}

Semantic roles & 50–950 ramp

primary
#971E7F
secondary
#51C067
accent
#EA603E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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