#976997#976997

#976997 is a mid, moderate purple. Relative luminance 0.189; OKLCH L 58.4% C 0.087 H 326.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#976997
RGBrgb(151, 105, 151)
HSLhsl(300, 18%, 50%)
HSVhsv(300, 30%, 59%)
CMYKcmyk(0%, 30.5%, 0%, 40.8%)
CIE-LABlab(50.59, 26.34, -17.73)
CIE-LCHlch(50.59, 31.75, 326.06°)
OKLaboklab(58.45% 0.0728 -0.048)
OKLCHoklch(58.45% 0.087 326.6)
XYZxyz(23.3995, 18.9176, 31.6910)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976997 #699769
analogous
#806997 #976997 #976980
triadic
#976997 #979769 #699797
tetradic
#976997 #978069 #699769 #698097
square
#976997 #978069 #699769 #698097
split-complementary
#976997 #809769 #699780
monochromatic
#4F374F #735073 #976997 #B08DB0 #C9B1C9

Accessibility & contrast

On white

4.39
#976997 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#976997 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976997
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976997#FFFFFF#000000##000000
##9769971.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#667599
Deuteranopia (green-blind)
#717B95
Tritanopia (blue-blind)
#9A6D7A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #976997;
/* rgb */ color: rgb(151, 105, 151);
/* oklch */ color: oklch(58.4% 0.087 326.6);
Tailwind
colors: {
  custom: {
    50: '#b694b5',
    500: '#976997',
    950: '#000000',
  },
}
SCSS
$custom: #976997;
$custom-light: #b694b5;
$custom-dark: #000000;
JSON
{
  "hex": "#976997",
  "rgb": {
    "r": 151,
    "g": 105,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 18.11,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58449,
    "c": 0.08723,
    "h": 326.6
  },
  "luminance": 0.18917
}

Semantic roles & 50–950 ramp

primary
#976997
secondary
#A4B8A4
accent
#BB6D6D
background
#FBF9FB
surface
#F6F1F6
border
#D0CBD0
text
#110D11
muted
#807E80

Preview Lab

Preview with #976997

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

Preview Lab → · Contrast checker → · Palette generator →

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