Color

#ba40e2

#ba40e2
hex#ba40e2
rgbrgb(186, 64, 226)
hslhsl(285, 74%, 57%)
oklchoklch(0.612 0.243 316.4)
Closest name: Magenta Affair (#aa44dd)Relative luminance 0.196

Colors that go with #ba40e2

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.

Real palettes that use #ba40e2

Tints & shades

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

Harmonies

Complementary

Open in tool →

#69e240

#6940e2 · #e240ba

#e2ba40 · #40e2ba

Split-complementary

Open in tool →

#bae240 · #40e269

#e26940 · #69e240 · #40bae2

Contrast

#ba40e2 as textRatioAAAA largeAAAFix
Aaon white
4.27:1failpassfail
  • AA: use #b737e1 as the text (4.52:1)
  • AAA: use #8c1bb1 as the text (7.22:1)
  • AA: or shift the background to #0d0d0d (4.55:1)
Aaon black
4.92:1passpassfail
  • AAA: use #cc71ea as the text (7.12:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #ba40e2 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

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

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

tool url/palettes/new/ba40e2-bc9fc1-afcb62-2d1f2b-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