Hex Color #AF8AAE - Custom Color
Color Codes
HEX
#AF8AAE
RGB
rgb(175, 138, 174)
HSL
hsl(302, 19%, 61%)
CMYK
cmyk(0%, 21%, 1%, 31%)
HSV
hsv(302, 21%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.97:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.07:1
Pass - WCAG AA (Normal Text)
Pass - 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: #AF8AAE;
color: #AF8AAE;
border-color: #AF8AAE;
}
Tailwind CSS (with arbitrary values)
bg-[#AF8AAE]
text-[#AF8AAE]
border-[#AF8AAE]
// Example usage:
<div className="bg-[#AF8AAE]">