#972F97#972F97

#972F97 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.184 H 327.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#972F97
RGBrgb(151, 47, 151)
HSLhsl(300, 53%, 39%)
HSVhsv(300, 69%, 59%)
CMYKcmyk(0%, 68.9%, 0%, 40.8%)
CIE-LABlab(39.32, 55.75, -35.26)
CIE-LCHlch(39.32, 65.96, 327.69°)
OKLaboklab(50.09% 0.1554 -0.0975)
OKLCHoklch(50.09% 0.184 327.9)
XYZxyz(19.3647, 10.8481, 30.3461)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972F97 #2F972F
analogous
#632F97 #972F97 #972F63
triadic
#972F97 #97972F #2F9797
tetradic
#972F97 #97632F #2F972F #2F6397
square
#972F97 #97632F #2F972F #2F6397
split-complementary
#972F97 #63972F #2F9763
monochromatic
#3A123A #682068 #972F97 #C340C3 #D26ED2

Accessibility & contrast

On white

6.63
#972F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#972F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972F97
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972F97#FFFFFF#000000##FFFFFF
##972F971.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#4A6194
Tritanopia (blue-blind)
#9C3E5F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #972f97;
/* rgb */ color: rgb(151, 47, 151);
/* oklch */ color: oklch(50.1% 0.184 327.9);
Tailwind
colors: {
  custom: {
    50: '#b971b6',
    500: '#972f97',
    950: '#000000',
  },
}
SCSS
$custom: #972f97;
$custom-light: #b971b6;
$custom-dark: #000000;
JSON
{
  "hex": "#972f97",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50089,
    "c": 0.18351,
    "h": 327.9
  },
  "luminance": 0.10847
}

Semantic roles & 50–950 ramp

primary
#972F97
secondary
#68B968
accent
#DC4C4C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #972F97

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

Preview Lab → · Contrast checker → · Palette generator →

#972F97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva