#972B97#972B97

#972B97 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.188 H 328.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#972B97
RGBrgb(151, 43, 151)
HSLhsl(300, 56%, 38%)
HSVhsv(300, 72%, 59%)
CMYKcmyk(0%, 71.5%, 0%, 40.8%)
CIE-LABlab(38.80, 57.23, -36.09)
CIE-LCHlch(38.80, 67.66, 327.77°)
OKLaboklab(49.71% 0.1596 -0.0999)
OKLCHoklch(49.71% 0.188 328)
XYZxyz(19.2120, 10.5428, 30.2952)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972B97 #2B972B
analogous
#612B97 #972B97 #972B61
triadic
#972B97 #97972B #2B9797
tetradic
#972B97 #97612B #2B972B #2B6197
square
#972B97 #97612B #2B972B #2B6197
split-complementary
#972B97 #61972B #2B9761
monochromatic
#381038 #671D67 #972B97 #C739C7 #D468D4

Accessibility & contrast

On white

6.76
#972B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#972B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972B97
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972B97#FFFFFF#000000##FFFFFF
##972B971.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#486094
Tritanopia (blue-blind)
#9C3B5E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #972b97;
/* rgb */ color: rgb(151, 43, 151);
/* oklch */ color: oklch(49.7% 0.188 328.0);
Tailwind
colors: {
  custom: {
    50: '#b96fb6',
    500: '#972b97',
    950: '#000000',
  },
}
SCSS
$custom: #972b97;
$custom-light: #b96fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#972b97",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49713,
    "c": 0.18832,
    "h": 328
  },
  "luminance": 0.10541
}

Semantic roles & 50–950 ramp

primary
#972B97
secondary
#63BB63
accent
#DF4949
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #972B97

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

Preview Lab → · Contrast checker → · Palette generator →

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