Color

#d997fc

#d997fc
hex#d997fc
rgbrgb(217, 151, 252)
hslhsl(279, 94%, 79%)
oklchoklch(0.777 0.155 313.2)
Closest name: Lilac (#cea2fd)Relative luminance 0.4391

Tints & shades

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

Harmonies

Complementary

Open in tool →

#bafc97

#a697fc · #fc97ed

#fcd997 · #97fcd9

Split-complementary

Open in tool →

#edfc97 · #97fca6

#fca697 · #bafc97 · #97edfc

Contrast

#d997fc as textRatioAAAA largeAAAFix
Aaon white
2.15:1failfailfail
  • AA: use #b02af8 as the text (4.63:1)
  • AAA: use #8606cb as the text (7.24:1)
  • AA: or shift the background to #424242 (4.68:1)
  • AAA: or shift the background to #262626 (7.05:1)
Aaon black
9.78:1passpasspassPasses AAA — no fix needed.

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

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

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

tool url/palettes/new/d997fc-b99fc1-b9cb62-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