#973797#973797

#973797 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.9% C 0.173 H 327.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#973797
RGBrgb(151, 55, 151)
HSLhsl(300, 47%, 40%)
HSVhsv(300, 64%, 59%)
CMYKcmyk(0%, 63.6%, 0%, 40.8%)
CIE-LABlab(40.49, 52.49, -33.42)
CIE-LCHlch(40.49, 62.22, 327.52°)
OKLaboklab(50.93% 0.1462 -0.0923)
OKLCHoklch(50.93% 0.173 327.8)
XYZxyz(19.7143, 11.5474, 30.4626)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973797 #379737
analogous
#673797 #973797 #973767
triadic
#973797 #979737 #379797
tetradic
#973797 #976737 #379737 #376797
square
#973797 #976737 #379737 #376797
split-complementary
#973797 #679737 #379767
monochromatic
#3D163D #6A276A #973797 #BE4DBE #CF7ACF

Accessibility & contrast

On white

6.35
#973797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#973797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973797
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973797#FFFFFF#000000##FFFFFF
##9737971.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#9C4462
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #973797;
/* rgb */ color: rgb(151, 55, 151);
/* oklch */ color: oklch(50.9% 0.173 327.8);
Tailwind
colors: {
  custom: {
    50: '#b875b6',
    500: '#973797',
    950: '#000000',
  },
}
SCSS
$custom: #973797;
$custom-light: #b875b6;
$custom-dark: #000000;
JSON
{
  "hex": "#973797",
  "rgb": {
    "r": 151,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5093,
    "c": 0.17292,
    "h": 327.8
  },
  "luminance": 0.11546
}

Semantic roles & 50–950 ramp

primary
#973797
secondary
#72B872
accent
#D65252
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #973797

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

Preview Lab → · Contrast checker → · Palette generator →

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