Color

#9872ca

#9872ca
hex#9872ca
rgbrgb(152, 114, 202)
hslhsl(266, 45%, 62%)
oklchoklch(0.626 0.134 302.6)
Closest name: mediumpurple (#9370db)Relative luminance 0.2297

Tints & shades

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

Harmonies

Complementary

Open in tool →

#a4ca72

#7278ca · #c472ca

#ca9872 · #72ca98

Split-complementary

Open in tool →

#cac472 · #78ca72

#ca7278 · #a4ca72 · #72cac4

Contrast

#9872ca as textRatioAAAA largeAAAFix
Aaon white
3.75:1failpassfail
  • AA: use #8b60c3 as the text (4.61:1)
  • AAA: use #6e41aa as the text (7:1)
  • AA: or shift the background to #1c1c1c (4.54:1)
Aaon black
5.59:1passpassfail
  • AAA: use #a989d2 as the text (7.2:1)

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

#9872ca reads as cool, modern. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/9872ca-b29cc4-dfd74e-2b1f2d-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