#972791#972791

#972791 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.188 H 330.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#972791
RGBrgb(151, 39, 145)
HSLhsl(303, 59%, 37%)
HSVhsv(303, 74%, 59%)
CMYKcmyk(0%, 74.2%, 4%, 40.8%)
CIE-LABlab(37.98, 57.61, -33.73)
CIE-LCHlch(37.98, 66.76, 329.65°)
OKLaboklab(49.02% 0.1635 -0.0931)
OKLCHoklch(49.02% 0.188 330.3)
XYZxyz(18.5988, 10.0761, 27.7479)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972791 #27972D
analogous
#652797 #972791 #972759
triadic
#972791 #919727 #279197
tetradic
#972791 #976527 #27972D #275997
square
#972791 #976527 #27972D #275997
split-complementary
#972791 #599727 #279765
monochromatic
#360E34 #661A62 #972791 #C834C0 #D662D0

Accessibility & contrast

On white

6.97
#972791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#972791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972791
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972791#FFFFFF#000000##FFFFFF
##9727911.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5094
Deuteranopia (green-blind)
#495F8E
Tritanopia (blue-blind)
#9D365A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972791;
/* rgb */ color: rgb(151, 39, 145);
/* oklch */ color: oklch(49.0% 0.188 330.3);
Tailwind
colors: {
  custom: {
    50: '#b96db1',
    500: '#972791',
    950: '#000000',
  },
}
SCSS
$custom: #972791;
$custom-light: #b96db1;
$custom-dark: #000000;
JSON
{
  "hex": "#972791",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 303.214,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49016,
    "c": 0.18812,
    "h": 330.3
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#972791
secondary
#5EBC63
accent
#E24E46
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972791

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

Preview Lab → · Contrast checker → · Palette generator →

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