Hex Color #A2077E - Custom Color
Color Codes
HEX
#A2077E
RGB
rgb(162, 7, 126)
HSL
hsl(314, 92%, 33%)
CMYK
cmyk(0%, 96%, 22%, 36%)
HSV
hsv(314, 96%, 64%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.32:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.87:1
Fail - 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: #A2077E;
color: #A2077E;
border-color: #A2077E;
}
Tailwind CSS (with arbitrary values)
bg-[#A2077E]
text-[#A2077E]
border-[#A2077E]
// Example usage:
<div className="bg-[#A2077E]">