#A797AE#A797AE

#A797AE is a light, muted purple. Relative luminance 0.334; OKLCH L 69.8% C 0.038 H 315.7°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A797AE
RGBrgb(167, 151, 174)
HSLhsl(282, 12%, 64%)
HSVhsv(282, 13%, 68%)
CMYKcmyk(4%, 13.2%, 0%, 31.8%)
CIE-LABlab(64.49, 10.23, -9.83)
CIE-LCHlch(64.49, 14.18, 316.14°)
OKLaboklab(69.77% 0.027 -0.0263)
OKLCHoklch(69.77% 0.038 315.7)
XYZxyz(34.6417, 33.4050, 44.6590)
Luminance0.3341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A797AE #9EAE97
analogous
#9B97AE #A797AE #AE97A9
triadic
#A797AE #AEA797 #97AEA7
tetradic
#A797AE #AE9B97 #9EAE97 #97A9AE
square
#A797AE #AE9B97 #9EAE97 #97A9AE
split-complementary
#A797AE #A9AE97 #97AE9B
monochromatic
#6A5972 #8A7593 #A797AE #C4B9C9 #E1DCE4

Accessibility & contrast

On white

2.73
#A797AE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A797AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A797AE
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A797AE#FFFFFF#000000##000000
##A797AE1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#949BAF
Deuteranopia (green-blind)
#989DAD
Tritanopia (blue-blind)
#A7999F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a797ae;
/* rgb */ color: rgb(167, 151, 174);
/* oklch */ color: oklch(69.8% 0.038 315.7);
Tailwind
colors: {
  custom: {
    50: '#c1b5c6',
    500: '#a797ae',
    950: '#000000',
  },
}
SCSS
$custom: #a797ae;
$custom-light: #c1b5c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a797ae",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 174
  },
  "hsl": {
    "h": 281.739,
    "s": 12.432,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69774,
    "c": 0.03768,
    "h": 315.7
  },
  "luminance": 0.33405
}

Semantic roles & 50–950 ramp

primary
#A797AE
secondary
#CFD4CC
accent
#974F65
background
#FBFBFC
surface
#F7F6F8
border
#D0D0D1
text
#121113
muted
#818082

Preview Lab

Preview with #A797AE

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

Preview Lab → · Contrast checker → · Palette generator →

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