Color

#a31fef

#a31fef
hex#a31fef
rgbrgb(163, 31, 239)
hslhsl(278, 87%, 53%)
oklchoklch(0.568 0.274 307.6)
Closest name: Cosmic Heart (#9601f4)Relative luminance 0.15

Tints & shades

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

Harmonies

Complementary

Open in tool →

#6bef1f

#3b1fef · #ef1fd4

#efa31f · #1fefa3

Split-complementary

Open in tool →

#d4ef1f · #1fef3b

#ef3b1f · #6bef1f · #1fd4ef

Contrast

#a31fef as textRatioAAAA largeAAAFix
Aaon white
5.25:1passpassfail
  • AAA: use #870ecd as the text (7.06:1)
Aaon black
4:1failpassfail
  • AA: use #ad37f1 as the text (4.59:1)
  • AAA: use #c675f5 as the text (7.26:1)
  • AA: or shift the background to #f0f0f0 (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 #a31fef 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

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

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

tool url/palettes/new/a31fef-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