Hex Color #A06FAC - Custom Color
Color Codes
HEX
#A06FAC
RGB
rgb(160, 111, 172)
HSL
hsl(288, 27%, 55%)
CMYK
cmyk(7%, 35%, 0%, 33%)
HSV
hsv(288, 35%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.91: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: #A06FAC;
color: #A06FAC;
border-color: #A06FAC;
}
Tailwind CSS (with arbitrary values)
bg-[#A06FAC]
text-[#A06FAC]
border-[#A06FAC]
// Example usage:
<div className="bg-[#A06FAC]">