#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 family | Neutrals |
| Lightness | medium-light (69%) |
| Chroma | close to neutral grey (0.027) |
| Temperature | neutral |
| Nearest name | Cool Gray (#8D99AE) |
| Black text | 7.61:1 |
| White text | 2.75:1 |
Values
| HEX | #A797A5 |
| RGB | rgb(167, 151, 165) |
| HSL | hsl(308, 8%, 62%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#F6F5F6
oklch(97.1% 0.002 325.6)
-
Step 100
100
#ECE9EB
oklch(93.7% 0.004 337.4)
-
Step 200
200
#DDD7DC
oklch(88.5% 0.009 331)
-
Step 300
300
#C7BDC6
oklch(80.9% 0.017 328.8)
-
Step 400
400 (this color)
#A797A5
oklch(69.5% 0.027 329.9)
-
Step 500
500
#968294
oklch(63.1% 0.035 329.2)
-
Step 600
600
#806C7E
oklch(55.6% 0.037 329.3)
-
Step 700
700
#6D5A6A
oklch(49.2% 0.035 331.4)
-
Step 800
800
#584957
oklch(42.6% 0.03 328.2)
-
Step 900
900
#493D47
oklch(37.6% 0.023 331.6)
-
Step 950
950
#2B242A
oklch(27.1% 0.015 330.7)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #979AA6 | 0.024 |
| Deuteranopia (no green cones) | #9A9CA4 | 0.023 |
| Tritanopia (no blue cones) | #A8989C | 0.014 |
| Achromatopsia (no color) | #9C9C9C | 0.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)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
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.
- Cool Gray #8D99AE ΔE 0.038
- Cool Grey #95A3A6 ΔE 0.039
- Light Mauve #C292A1 ΔE 0.042
- Rosy Brown #BC8F8F ΔE 0.042
- Cool Steel #97A7B3 ΔE 0.045
- Bluey Grey #89A0B0 ΔE 0.045
- Grey Pink #C3909B ΔE 0.045
- Dusty Lavender #AC86A8 ΔE 0.048
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.