#971D8F#971D8F

#971D8F is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.2% C 0.196 H 331.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#971D8F
RGBrgb(151, 29, 143)
HSLhsl(304, 68%, 35%)
HSVhsv(304, 81%, 59%)
CMYKcmyk(0%, 80.8%, 5.3%, 40.8%)
CIE-LABlab(36.82, 60.29, -34.34)
CIE-LCHlch(36.82, 69.39, 330.34°)
OKLaboklab(48.15% 0.1721 -0.0947)
OKLCHoklch(48.15% 0.196 331.2)
XYZxyz(18.1598, 9.4427, 26.8475)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D8F #1D9725
analogous
#621D97 #971D8F #971D52
triadic
#971D8F #8F971D #1D8F97
tetradic
#971D8F #97621D #1D9725 #1D5297
square
#971D8F #97621D #1D9725 #1D5297
split-complementary
#971D8F #52971D #1D9762
monochromatic
#30092E #64135E #971D8F #CA27C0 #DE51D4

Accessibility & contrast

On white

7.27
#971D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#971D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D8F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D8F#FFFFFF#000000##FFFFFF
##971D8F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4C92
Deuteranopia (green-blind)
#465C8C
Tritanopia (blue-blind)
#9D2E56
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #971d8f;
/* rgb */ color: rgb(151, 29, 143);
/* oklch */ color: oklch(48.2% 0.196 331.2);
Tailwind
colors: {
  custom: {
    50: '#b969b0',
    500: '#971d8f',
    950: '#000000',
  },
}
SCSS
$custom: #971d8f;
$custom-light: #b969b0;
$custom-dark: #000000;
JSON
{
  "hex": "#971d8f",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 303.934,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48154,
    "c": 0.19647,
    "h": 331.2
  },
  "luminance": 0.09441
}

Semantic roles & 50–950 ramp

primary
#971D8F
secondary
#4FC057
accent
#EB493D
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #971D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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