Color

#840fc7

#840fc7
hex#840fc7
rgbrgb(132, 15, 199)
hslhsl(278, 86%, 42%)
oklchoklch(0.487 0.243 306.8)
Closest name: Lilac Spring (#8822cc)Relative luminance 0.0937

Tints & shades

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

Harmonies

Complementary

Open in tool →

#53c70f

#280fc7 · #c70faf

#c7840f · #0fc784

Split-complementary

Open in tool →

#afc70f · #0fc728

#c7280f · #53c70f · #0fafc7

Contrast

#840fc7 as textRatioAAAA largeAAAFix
Aaon white
7.31:1passpasspassPasses AAA — no fix needed.
Aaon black
2.87:1failfailfail
  • AA: use #ac38f0 as the text (4.58:1)
  • AAA: use #c471f4 as the text (7.02:1)
  • AA: or shift the background to #cccccc (4.55:1)
  • AAA: or shift the background to #fafafa (7:1)

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

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

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

tool url/palettes/new/840fc7-ba9cc4-bbcb62-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