#af98fa hex color
#af98fa RGB Percentages
#af98fa CMYK Percentages
Color #af98fa Variations
Tints
Lighter variations mixed with white
Shades
Darker variations mixed with black
Color #af98fa Harmonies
Analogous Colors
Colors that are next to each other on the color wheel
Contrast Checks for #af98fa
On White Background
WCAG AA Fail (2.41)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 (8.69)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 #af98fa
Nearest Tailwind Color for #af98fa
Here's the nearest color to #af98fa in Tailwind's full color palette.
Tailwind color name:
Hex color code:
Tailwind's violet-400 (#a78bfa)
Your color #af98fa
CSS Code Examples for #af98fa
Basic CSS Classes for #af98fa
Background Color
Background Color Example
Text Color
This text shows the color #af98fa
Border Color
CSS3 Effects for #af98fa
Text Shadow (RGB)
Text with RGB Shadow
Text Shadow (Hex)
Text with Hex Shadow
Box Shadow
HTML Examples for #af98fa
Inline Styles
This is a sample text showing how this color looks when used as a text color.
Combined Effects
Combined Styles Example