#972997#972997

#972997 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.191 H 328.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#972997
RGBrgb(151, 41, 151)
HSLhsl(300, 57%, 38%)
HSVhsv(300, 73%, 59%)
CMYKcmyk(0%, 72.8%, 0%, 40.8%)
CIE-LABlab(38.55, 57.94, -36.48)
CIE-LCHlch(38.55, 68.46, 327.80°)
OKLaboklab(49.54% 0.1616 -0.101)
OKLCHoklch(49.54% 0.191 328)
XYZxyz(19.1411, 10.4009, 30.2716)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972997 #299729
analogous
#602997 #972997 #972960
triadic
#972997 #979729 #299797
tetradic
#972997 #976029 #299729 #296097
square
#972997 #976029 #299729 #296097
split-complementary
#972997 #609729 #299760
monochromatic
#370F37 #671C67 #972997 #C736C7 #D565D5

Accessibility & contrast

On white

6.82
#972997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#972997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972997
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972997#FFFFFF#000000##FFFFFF
##9729971.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529A
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#9C3A5E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #972997;
/* rgb */ color: rgb(151, 41, 151);
/* oklch */ color: oklch(49.5% 0.191 328.0);
Tailwind
colors: {
  custom: {
    50: '#b96eb6',
    500: '#972997',
    950: '#000000',
  },
}
SCSS
$custom: #972997;
$custom-light: #b96eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#972997",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49536,
    "c": 0.1906,
    "h": 328
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#972997
secondary
#61BB61
accent
#E14747
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #972997

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

Preview Lab → · Contrast checker → · Palette generator →

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