#af87dc hex color
#af87dc RGB Percentages
#af87dc CMYK Percentages
Color #af87dc Variations
Tints
Lighter variations mixed with white
Shades
Darker variations mixed with black
Color #af87dc Harmonies
Analogous Colors
Colors that are next to each other on the color wheel
Contrast Checks for #af87dc
On White Background
WCAG AA Fail (2.86)Large Text Example
The quick brown fox jumps over the lazy dog.
Regular Text Example
This is an example of regular-sized text that would commonly appear in paragraphs and body content.
On Black Background
WCAG AA Pass (7.32)Large Text Example
The quick brown fox jumps over the lazy dog.
Regular Text Example
This is an example of regular-sized text that would commonly appear in paragraphs and body content.
CSS Styles for #af87dc
Nearest Tailwind Color for #af87dc
Here's the nearest color to #af87dc in Tailwind's full color palette.
Tailwind color name:
Hex color code:
Tailwind's purple-400 (#c084fc)
Your color #af87dc
CSS Code Examples for #af87dc
Basic CSS Classes for #af87dc
Background Color
Background Color Example
Text Color
This text shows the color #af87dc
Border Color
CSS3 Effects for #af87dc
Text Shadow (RGB)
Text with RGB Shadow
Text Shadow (Hex)
Text with Hex Shadow
Box Shadow
HTML Examples for #af87dc
Inline Styles
This is a sample text showing how this color looks when used as a text color.
Combined Effects
Combined Styles Example