#C5A1F7
Color Details
HEX
#C5A1F7
RGB
rgb(197, 161, 247)
HSL
hsl(265, 84%, 80%)
CMYK
cmyk(20%, 35%, 0%, 3%)
Best text on this color
#000000 (CR 9.82:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #C5A1F7
#C5A1F7 converts to RGB(197, 161, 247) and HSL(265, 84%, 80%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#C5A1F7 FAQs
What is the RGB value of #C5A1F7?
RGB: 197, 161, 247. Copy as CSS:
rgb(197, 161, 247)
Is #C5A1F7 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #C5A1F7?
Complement: #d3f7a1.
Does #C5A1F7 have good contrast on white or black?
On white: 2.14:1 (Fails AA).
On black: 9.82:1 (AAA (normal text)).