Color

#a540f2

#a540f2
hex#a540f2
rgbrgb(165, 64, 242)
hslhsl(274, 87%, 60%)
oklchoklch(0.597 0.251 305.8)
Closest name: Magenta Affair (#aa44dd)Relative luminance 0.1808

Colors that go with #a540f2

Olive Drab, Sea Green and Charcoal lead the list. Each partner is a real named colour with the reason it works — a wheel relationship, a neutral that carries it, or a pairing lifted from a palette or brand system that actually shipped — and every pair opens in the palette tool.

Tints & shades

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

Harmonies

Complementary

Open in tool →

#8df240

#4c40f2 · #f240e6

#f2a540 · #40f2a5

Split-complementary

Open in tool →

#e6f240 · #40f24c

#f24c40 · #8df240 · #40e6f2

Contrast

#a540f2 as textRatioAAAA largeAAAFix
Aaon white
4.55:1passpassfail
  • AAA: use #800fd7 as the text (7.08:1)
Aaon black
4.62:1passpassfail
  • AAA: use #be75f5 as the text (7.05:1)

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

Brands using this color

Fonts for this mood

#a540f2 reads as cool, vivid, technical. The font library is tagged with the same vocabulary:

mcpConnect your agent — build around #a540f2
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — direct_palette, edit_direction, check_palette, check_contrast — read-only, no key. Every direction it proposes comes with a /colors/d/… link: open it, lock what you like, paste the link back, and the agent edits rather than re-rolls.

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

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

tool url/palettes/new/a540f2-b79cc4-c2cb62-2d1f2d-eae9f1?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