Hex Color #A6819E - Custom Color
Color Codes
HEX
#A6819E
RGB
rgb(166, 129, 158)
HSL
hsl(313, 17%, 58%)
CMYK
cmyk(0%, 22%, 5%, 35%)
HSV
hsv(313, 22%, 65%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.36:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.26: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: #A6819E;
color: #A6819E;
border-color: #A6819E;
}
Tailwind CSS (with arbitrary values)
bg-[#A6819E]
text-[#A6819E]
border-[#A6819E]
// Example usage:
<div className="bg-[#A6819E]">