Hex Color #A78DCA - Custom Color
Color Codes
HEX
#A78DCA
RGB
rgb(167, 141, 202)
HSL
hsl(266, 37%, 67%)
CMYK
cmyk(17%, 30%, 0%, 21%)
HSV
hsv(266, 30%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.87:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.31: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: #A78DCA;
color: #A78DCA;
border-color: #A78DCA;
}
Tailwind CSS (with arbitrary values)
bg-[#A78DCA]
text-[#A78DCA]
border-[#A78DCA]
// Example usage:
<div className="bg-[#A78DCA]">