Skip to main content

#AF21DC

Share this color with others or download a color card image with HEX and RGB values. Perfect for social media, presentations, or design reference.

All Formats

HEX
#AF21DC
RGB
rgb(175, 33, 220)
RGBA
rgba(175, 33, 220, 1)
HSL
hsl(285.56, 73.91%, 49.61%)
HSLA
hsla(286, 74%, 50%, 1)
CMYK
cmyk(20%, 85%, 0%, 14%)

Color Palettes

Harmonious color combinations based on #AF21DC

Monochromatic

Shades and tints of the same hue

#24072C
#6B1485
#B221DE
#D17AEB
#F0D3F8

Analogous

Adjacent colors on the color wheel

#214DDE
#5321DE
#AF21DC
#DE21AC
#DE214D

Complementary

Opposite color for maximum contrast

#AF21DC
#4DDE21

Triadic

Three evenly spaced colors

#AF21DC
#DEB221
#21DEB2

CSS Usage Examples

Background

background-color: #AF21DC;

Text

color: #AF21DC;

Border

border: 2px solid #AF21DC;

Shadow

box-shadow: 0 4px 6px #AF21DC40;
Feedback