Hex Color #AF569C - Custom Color
Color Codes
HEX
#AF569C
RGB
rgb(175, 86, 156)
HSL
hsl(313, 36%, 51%)
CMYK
cmyk(0%, 51%, 11%, 31%)
HSV
hsv(313, 51%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.53:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.63: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: #AF569C;
color: #AF569C;
border-color: #AF569C;
}
Tailwind CSS (with arbitrary values)
bg-[#AF569C]
text-[#AF569C]
border-[#AF569C]
// Example usage:
<div className="bg-[#AF569C]">