#971D97#971D97

#971D97 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.202 H 328.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#971D97
RGBrgb(151, 29, 151)
HSLhsl(300, 68%, 35%)
HSVhsv(300, 81%, 59%)
CMYKcmyk(0%, 80.8%, 0%, 40.8%)
CIE-LABlab(37.29, 61.57, -38.49)
CIE-LCHlch(37.29, 72.61, 327.99°)
OKLaboklab(48.63% 0.1719 -0.1068)
OKLCHoklch(48.63% 0.202 328.1)
XYZxyz(18.7876, 9.6938, 30.1537)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D97 #1D971D
analogous
#5A1D97 #971D97 #971D5A
triadic
#971D97 #97971D #1D9797
tetradic
#971D97 #975A1D #1D971D #1D5A97
square
#971D97 #975A1D #1D971D #1D5A97
split-complementary
#971D97 #5A971D #1D975A
monochromatic
#300930 #641364 #971D97 #CA27CA #DE51DE

Accessibility & contrast

On white

7.15
#971D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#971D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D97
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D97#FFFFFF#000000##FFFFFF
##971D971.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#9C335B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #971d97;
/* rgb */ color: rgb(151, 29, 151);
/* oklch */ color: oklch(48.6% 0.202 328.1);
Tailwind
colors: {
  custom: {
    50: '#b96ab6',
    500: '#971d97',
    950: '#000000',
  },
}
SCSS
$custom: #971d97;
$custom-light: #b96ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#971d97",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48634,
    "c": 0.2024,
    "h": 328.1
  },
  "luminance": 0.09692
}

Semantic roles & 50–950 ramp

primary
#971D97
secondary
#4FC04F
accent
#EB3D3D
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971D97

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

Preview Lab → · Contrast checker → · Palette generator →

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