Hex Color #AE57CE - Custom Color
Color Codes
HEX
#AE57CE
RGB
rgb(174, 87, 206)
HSL
hsl(284, 55%, 57%)
CMYK
cmyk(16%, 58%, 0%, 19%)
HSV
hsv(284, 58%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.15:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.05: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: #AE57CE;
color: #AE57CE;
border-color: #AE57CE;
}
Tailwind CSS (with arbitrary values)
bg-[#AE57CE]
text-[#AE57CE]
border-[#AE57CE]
// Example usage:
<div className="bg-[#AE57CE]">