Color

#a040d4

#a040d4
hex#a040d4
rgbrgb(160, 64, 212)
hslhsl(279, 63%, 54%)
oklchoklch(0.569 0.221 311)
Closest name: Magenta Affair (#aa44dd)Relative luminance 0.1589

Colors that go with #a040d4

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 →

#74d440

#5640d4 · #d440bd

#d4a040 · #40d4a0

Split-complementary

Open in tool →

#bdd440 · #40d456

#d45640 · #74d440 · #40bdd4

Contrast

#a040d4 as textRatioAAAA largeAAAFix
Aaon white
5.03:1passpassfail
  • AAA: use #8229b3 as the text (7.2:1)
Aaon black
4.18:1failpassfail
  • AA: use #a64cd6 as the text (4.63:1)
  • AAA: use #bd7ae1 as the text (7.03:1)
  • AA: or shift the background to #f5f5f5 (4.61:1)

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

Brands using this color

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

Fonts for this mood

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

mcpConnect your agent — build around #a040d4
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 #a040d4 and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/a040d4-b99fc1-b9cb62-2d1f2c-ebe9f1?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