Color

#7c31d8

#7c31d8
hex#7c31d8
rgbrgb(124, 49, 216)
hslhsl(267, 68%, 52%)
oklchoklch(0.514 0.234 297.8)
Closest name: Hokkaido Lavender (#7736d9)Relative luminance 0.1144

Tints & shades

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

Harmonies

Complementary

Open in tool →

#8dd831

#313ad8 · #d031d8

#d87c31 · #31d87c

Split-complementary

Open in tool →

#d8d031 · #3ad831

#d8313a · #8dd831 · #31d8d0

Contrast

#7c31d8 as textRatioAAAA largeAAAFix
Aaon white
6.39:1passpassfail
  • AAA: use #7428d2 as the text (7.05:1)
Aaon black
3.29:1failpassfail
  • AA: use #9254de as the text (4.55:1)
  • AAA: use #b083e7 as the text (7.25:1)
  • AA: or shift the background to #d9d9d9 (4.52:1)

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

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

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

tool url/palettes/new/7c31d8-b39cc4-dfda4e-2c1f2d-e9eaf1?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