Hex Color #A66CAC - Custom Color
Color Codes
HEX
#A66CAC
RGB
rgb(166, 108, 172)
HSL
hsl(294, 28%, 55%)
CMYK
cmyk(3%, 37%, 0%, 33%)
HSV
hsv(294, 37%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.92:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.36: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: #A66CAC;
color: #A66CAC;
border-color: #A66CAC;
}
Tailwind CSS (with arbitrary values)
bg-[#A66CAC]
text-[#A66CAC]
border-[#A66CAC]
// Example usage:
<div className="bg-[#A66CAC]">