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