Hex Color #AC7FAE - Custom Color
Color Codes
HEX
#AC7FAE
RGB
rgb(172, 127, 174)
HSL
hsl(297, 22%, 59%)
CMYK
cmyk(1%, 27%, 0%, 32%)
HSV
hsv(297, 27%, 68%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.28:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.40: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: #AC7FAE;
color: #AC7FAE;
border-color: #AC7FAE;
}
Tailwind CSS (with arbitrary values)
bg-[#AC7FAE]
text-[#AC7FAE]
border-[#AC7FAE]
// Example usage:
<div className="bg-[#AC7FAE]">