#975797#975797

#975797 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 55.4% C 0.121 H 327.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#975797
RGBrgb(151, 87, 151)
HSLhsl(300, 27%, 47%)
HSVhsv(300, 42%, 59%)
CMYKcmyk(0%, 42.4%, 0%, 40.8%)
CIE-LABlab(46.49, 36.52, -24.04)
CIE-LCHlch(46.49, 43.72, 326.64°)
OKLaboklab(55.35% 0.1013 -0.0656)
OKLCHoklch(55.35% 0.121 327.1)
XYZxyz(21.7562, 15.6311, 31.1433)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975797 #579757
analogous
#775797 #975797 #975777
triadic
#975797 #979757 #579797
tetradic
#975797 #977757 #579757 #577797
square
#975797 #977757 #579757 #577797
split-complementary
#975797 #779757 #579777
monochromatic
#492A49 #704170 #975797 #B279B2 #C8A0C8

Accessibility & contrast

On white

5.09
#975797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#975797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975797
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975797#FFFFFF#000000##FFFFFF
##9757971.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526999
Deuteranopia (green-blind)
#637195
Tritanopia (blue-blind)
#9B5D70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #975797;
/* rgb */ color: rgb(151, 87, 151);
/* oklch */ color: oklch(55.4% 0.121 327.1);
Tailwind
colors: {
  custom: {
    50: '#b788b5',
    500: '#975797',
    950: '#000000',
  },
}
SCSS
$custom: #975797;
$custom-light: #b788b5;
$custom-dark: #000000;
JSON
{
  "hex": "#975797",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 26.891,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55352,
    "c": 0.12069,
    "h": 327.1
  },
  "luminance": 0.1563
}

Semantic roles & 50–950 ramp

primary
#975797
secondary
#94B694
accent
#C36565
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #975797

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

Preview Lab → · Contrast checker → · Palette generator →

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