Hex Color #E78FFC - Custom Color
Color Codes
HEX
#E78FFC
RGB
rgb(231, 143, 252)
HSL
hsl(288, 95%, 77%)
CMYK
cmyk(8%, 43%, 0%, 1%)
HSV
hsv(288, 43%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.16:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.73: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: #E78FFC;
color: #E78FFC;
border-color: #E78FFC;
}
Tailwind CSS (with arbitrary values)
bg-[#E78FFC]
text-[#E78FFC]
border-[#E78FFC]
// Example usage:
<div className="bg-[#E78FFC]">