Hex Color #A547AB - Custom Color
Color Codes
HEX
#A547AB
RGB
rgb(165, 71, 171)
HSL
hsl(296, 41%, 47%)
CMYK
cmyk(4%, 58%, 0%, 33%)
HSV
hsv(296, 58%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.14:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.09: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: #A547AB;
color: #A547AB;
border-color: #A547AB;
}
Tailwind CSS (with arbitrary values)
bg-[#A547AB]
text-[#A547AB]
border-[#A547AB]
// Example usage:
<div className="bg-[#A547AB]">