#A797A5

Closest named color: Cool Gray (#8D99AE). oklch(69.5% 0.027 329.9), rgb(167, 151, 165).

Aa

Black text reads best on this color (7.61:1).

About this color

#A797A5 is a medium-light close to neutral grey. In OKLCH its lightness is 69%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Cool Gray (#8D99AE), ΔE 0.038 away. Black text reads best on it, at 7.61:1.

Hue familyNeutrals
Lightnessmedium-light (69%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameCool Gray (#8D99AE)
Black text7.61:1
White text2.75:1

Values

HEX#A797A5
RGBrgb(167, 151, 165)
HSLhsl(308, 8%, 62%)
OKLCHoklch(69.5% 0.027 329.9)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #A797A5 2.75:1 Fails Lc -58.5 Large or bold text, headings
Black text on #A797A5 7.61:1 AAA Lc 50.8 Large or bold text, headings
#A797A5 text on white 2.75:1 Fails Lc 53.3 Large or bold text, headings
#A797A5 text on black 7.61:1 AAA Lc -48.6 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #ECE9EB

    oklch(93.7% 0.004 337.4)

  3. Step 200

    200

    #DDD7DC

    oklch(88.5% 0.009 331)

  4. Step 300

    300

    #C7BDC6

    oklch(80.9% 0.017 328.8)

  5. Step 400

    400 (this color)

    #A797A5

    oklch(69.5% 0.027 329.9)

  6. Step 500

    500

    #968294

    oklch(63.1% 0.035 329.2)

  7. Step 600

    600

    #806C7E

    oklch(55.6% 0.037 329.3)

  8. Step 700

    700

    #6D5A6A

    oklch(49.2% 0.035 331.4)

  9. Step 800

    800

    #584957

    oklch(42.6% 0.03 328.2)

  10. Step 900

    900

    #493D47

    oklch(37.6% 0.023 331.6)

  11. Step 950

    950

    #2B242A

    oklch(27.1% 0.015 330.7)

Export this scale for Tailwind in the Tailwind colors tool

#A797A5 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#979AA60.024
Deuteranopia (no green cones)#9A9CA40.023
Tritanopia (no blue cones)#A8989C0.014
Achromatopsia (no color)#9C9C9C0.027

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #A797A5

    #A797A5

    oklch(69.5% 0.027 329.9)

  • #91A294

    #91A294

    oklch(69.5% 0.028 150.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A797A5

    #A797A5

    oklch(69.5% 0.027 329.9)

  • #9F99AC

    #9F99AC

    oklch(69.4% 0.028 300.1)

  • #AC969C

    #AC969C

    oklch(69.4% 0.027 359.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #A797A5

    #A797A5

    oklch(69.5% 0.027 329.9)

  • #9AA08D

    #9AA08D

    oklch(69.5% 0.028 121.4)

  • #8BA39D

    #8BA39D

    oklch(69.5% 0.028 178.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A797A5

    #A797A5

    oklch(69.5% 0.027 329.9)

  • #A39C8A

    #A39C8A

    oklch(69.4% 0.027 89.3)

  • #8AA2A6

    #8AA2A6

    oklch(69.5% 0.027 208.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A797A5

    #A797A5

    oklch(69.5% 0.027 329.9)

  • #AA998C

    #AA998C

    oklch(69.4% 0.027 59.7)

  • #91A294

    #91A294

    oklch(69.5% 0.028 150.6)

  • #8EA0AC

    #8EA0AC

    oklch(69.6% 0.027 237)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #A797A5, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #A797A5 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.