A detailed comparison of #870EA0 and #C511A7 — analogous colors
background: linear-gradient(to right, #870EA0, #C511A7);
With a contrast ratio of 1.54:1, this pair does not meet WCAG guidelines for text. Use these colors as adjacent blocks, gradients, or decorative accents rather than text-on-background pairings.
These colors have a 20\u00B0 hue difference, making them analogous. They create a harmonious, cohesive palette ideal for subtle variations in a design system.