Color

#af28dc

#af28dc
hex#af28dc
rgbrgb(175, 40, 220)
hslhsl(285, 72%, 51%)
oklchoklch(0.575 0.256 315.4)
Closest name: Magenta Affair (#aa44dd)Relative luminance 0.158

Tints & shades

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

Harmonies

Complementary

Open in tool →

#55dc28

#5528dc · #dc28af

#dcaf28 · #28dcaf

Split-complementary

Open in tool →

#afdc28 · #28dc55

#dc5528 · #55dc28 · #28afdc

Contrast

#af28dc as textRatioAAAA largeAAAFix
Aaon white
5.05:1passpassfail
  • AAA: use #8e1db4 as the text (7.04:1)
Aaon black
4.16:1failpassfail
  • AA: use #b435de as the text (4.5:1)
  • AAA: use #cb73e8 as the text (7.16:1)
  • AA: or shift the background to #f2f2f2 (4.51:1)

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

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

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

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