Hex Color #A181AE - Custom Color
Color Codes
HEX
#A181AE
RGB
rgb(161, 129, 174)
HSL
hsl(283, 22%, 59%)
CMYK
cmyk(7%, 26%, 0%, 32%)
HSV
hsv(283, 26%, 68%)
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: #A181AE;
color: #A181AE;
border-color: #A181AE;
}
Tailwind CSS (with arbitrary values)
bg-[#A181AE]
text-[#A181AE]
border-[#A181AE]
// Example usage:
<div className="bg-[#A181AE]">