#A797AA#A797AA

#A797AA is a light, muted purple. Relative luminance 0.333; OKLCH L 69.6% C 0.033 H 320.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#A797AA
RGBrgb(167, 151, 170)
HSLhsl(291, 10%, 63%)
HSVhsv(291, 11%, 67%)
CMYKcmyk(1.8%, 11.2%, 0%, 33.3%)
CIE-LABlab(64.36, 9.43, -7.76)
CIE-LCHlch(64.36, 12.22, 320.56°)
OKLaboklab(69.64% 0.0255 -0.0207)
OKLCHoklch(69.64% 0.033 320.9)
XYZxyz(34.2576, 33.2513, 42.6359)
Luminance0.3325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A797AA #9AAA97
analogous
#9D97AA #A797AA #AA97A3
triadic
#A797AA #AAA797 #97AAA7
tetradic
#A797AA #AA9D97 #9AAA97 #97A3AA
square
#A797AA #AA9D97 #9AAA97 #97A3AA
split-complementary
#A797AA #A3AA97 #97AA9D
monochromatic
#6A596D #8B758E #A797AA #C3B9C6 #E0DAE1

Accessibility & contrast

On white

2.75
#A797AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#A797AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A797AA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A797AA#FFFFFF#000000##000000
##A797AA1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#959BAB
Deuteranopia (green-blind)
#999DA9
Tritanopia (blue-blind)
#A8999D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a797aa;
/* rgb */ color: rgb(167, 151, 170);
/* oklch */ color: oklch(69.6% 0.033 320.9);
Tailwind
colors: {
  custom: {
    50: '#c1b5c3',
    500: '#a797aa',
    950: '#000000',
  },
}
SCSS
$custom: #a797aa;
$custom-light: #c1b5c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a797aa",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 170
  },
  "hsl": {
    "h": 290.526,
    "s": 10.053,
    "l": 62.941
  },
  "oklch": {
    "l": 0.69637,
    "c": 0.03283,
    "h": 320.9
  },
  "luminance": 0.33251
}

Semantic roles & 50–950 ramp

primary
#A797AA
secondary
#CCD2CB
accent
#94515C
background
#FBFBFB
surface
#F7F6F7
border
#D0D0D0
text
#121112
muted
#818081

Preview Lab

Preview with #A797AA

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

Preview Lab → · Contrast checker → · Palette generator →

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