Hex Color #A078E1 - Custom Color
Color Codes
HEX
#A078E1
RGB
rgb(160, 120, 225)
HSL
hsl(263, 64%, 68%)
CMYK
cmyk(29%, 47%, 0%, 12%)
HSV
hsv(263, 47%, 88%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.35:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.27:1
Pass - WCAG AA (Normal Text)
Fail - 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: #A078E1;
color: #A078E1;
border-color: #A078E1;
}
Tailwind CSS (with arbitrary values)
bg-[#A078E1]
text-[#A078E1]
border-[#A078E1]
// Example usage:
<div className="bg-[#A078E1]">