#972097#972097

#972097 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.8% C 0.200 H 328.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#972097
RGBrgb(151, 32, 151)
HSLhsl(300, 65%, 36%)
HSVhsv(300, 79%, 59%)
CMYKcmyk(0%, 78.8%, 0%, 40.8%)
CIE-LABlab(37.57, 60.76, -38.04)
CIE-LCHlch(37.57, 71.69, 327.95°)
OKLaboklab(48.83% 0.1696 -0.1055)
OKLCHoklch(48.83% 0.2 328.1)
XYZxyz(18.8647, 9.8481, 30.1794)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972097 #209720
analogous
#5B2097 #972097 #97205B
triadic
#972097 #979720 #209797
tetradic
#972097 #975B20 #209720 #205B97
square
#972097 #975B20 #209720 #205B97
split-complementary
#972097 #5B9720 #20975B
monochromatic
#320B32 #641564 #972097 #C92BC9 #DB56DB

Accessibility & contrast

On white

7.07
#972097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#972097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972097
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972097#FFFFFF#000000##FFFFFF
##9720971.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#435E94
Tritanopia (blue-blind)
#9C345B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #972097;
/* rgb */ color: rgb(151, 32, 151);
/* oklch */ color: oklch(48.8% 0.200 328.1);
Tailwind
colors: {
  custom: {
    50: '#b96bb6',
    500: '#972097',
    950: '#000000',
  },
}
SCSS
$custom: #972097;
$custom-light: #b96bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#972097",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48833,
    "c": 0.19976,
    "h": 328.1
  },
  "luminance": 0.09847
}

Semantic roles & 50–950 ramp

primary
#972097
secondary
#54BF54
accent
#E84040
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #972097

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

Preview Lab → · Contrast checker → · Palette generator →

#972097 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva