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