Hex Color #AC8E9D - Custom Color
Color Codes
HEX
#AC8E9D
RGB
rgb(172, 142, 157)
HSL
hsl(330, 15%, 62%)
CMYK
cmyk(0%, 17%, 9%, 33%)
HSV
hsv(330, 17%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.95:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.11: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: #AC8E9D;
color: #AC8E9D;
border-color: #AC8E9D;
}
Tailwind CSS (with arbitrary values)
bg-[#AC8E9D]
text-[#AC8E9D]
border-[#AC8E9D]
// Example usage:
<div className="bg-[#AC8E9D]">