Hex Color #E872FE - Custom Color
Color Codes
HEX
#E872FE
RGB
rgb(232, 114, 254)
HSL
hsl(291, 99%, 72%)
CMYK
cmyk(9%, 55%, 0%, 0%)
HSV
hsv(291, 55%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.54:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.27:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #E872FE;
color: #E872FE;
border-color: #E872FE;
}
Tailwind CSS (with arbitrary values)
bg-[#E872FE]
text-[#E872FE]
border-[#E872FE]
// Example usage:
<div className="bg-[#E872FE]">