#972988#972988

#972988 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.179 H 334.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#972988
RGBrgb(151, 41, 136)
HSLhsl(308, 57%, 38%)
HSVhsv(308, 73%, 59%)
CMYKcmyk(0%, 72.8%, 9.9%, 40.8%)
CIE-LABlab(37.74, 55.48, -28.59)
CIE-LCHlch(37.74, 62.41, 332.74°)
OKLaboklab(48.69% 0.161 -0.0782)
OKLCHoklch(48.69% 0.179 334.1)
XYZxyz(17.9995, 9.9443, 24.2592)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972988 #299738
analogous
#6F2997 #972988 #972951
triadic
#972988 #889729 #298897
tetradic
#972988 #976F29 #299738 #295197
square
#972988 #976F29 #299738 #295197
split-complementary
#972988 #519729 #29976F
monochromatic
#370F31 #671C5D #972988 #C736B3 #D565C6

Accessibility & contrast

On white

7.03
#972988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#972988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972988
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972988#FFFFFF#000000##FFFFFF
##9729881.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8B
Deuteranopia (green-blind)
#4E5F85
Tritanopia (blue-blind)
#9E3355
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972988;
/* rgb */ color: rgb(151, 41, 136);
/* oklch */ color: oklch(48.7% 0.179 334.1);
Tailwind
colors: {
  custom: {
    50: '#b96eab',
    500: '#972988',
    950: '#000000',
  },
}
SCSS
$custom: #972988;
$custom-light: #b96eab;
$custom-dark: #000000;
JSON
{
  "hex": "#972988",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 308.182,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48691,
    "c": 0.179,
    "h": 334.1
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#972988
secondary
#61BB6D
accent
#E15C47
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #972988

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

Preview Lab → · Contrast checker → · Palette generator →

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