Color

#a797ba

#a797ba
hex#a797ba
rgbrgb(167, 151, 186)
hslhsl(267, 20%, 66%)
oklchoklch(0.702 0.053 305.8)
Closest name: Enchanted Lilac (#a893c1)Relative luminance 0.3389

Tints & shades

Every swatch is its own page — click any to analyze it.

Harmonies

Complementary

Open in tool →

#aaba97

#9799ba · #b897ba

#baa797 · #97baa7

Split-complementary

Open in tool →

#bab897 · #99ba97

#ba9799 · #aaba97 · #97bab8

Contrast

#a797ba as textRatioAAAA largeAAAFix
Aaon white
2.7:1failfailfail
  • AA: use #826c9d as the text (4.58:1)
  • AAA: use #615077 as the text (7.19:1)
  • AA: or shift the background to #333333 (4.68:1)
  • AAA: or shift the background to #0f0f0f (7.1:1)
Aaon black
7.78:1passpasspassPasses AAA — no fix needed.

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #a797ba as the background.

Brands using this color

No public brand in the corpus uses this exact color yet. Extract a brand to add one.

mcpConnect your agent — build around #a797ba
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — generate_palette, check_contrast, analyze_color — read-only, no key. Every palette it proposes comes with a /palettes/new/… link: open it, lock what you like, paste the link back.

endpointhttps://mcp.brandsweets.com/colors/mcp
claude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
try this prompt

analyze #a797ba and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/a797ba-b39cc4-dfda4e-2c1f2d-e9eaf1?lock=0&style=vibrant

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Machine-readable: color.md