Hex Color #CA7AAA - Custom Color
Color Codes
HEX
#CA7AAA
RGB
rgb(202, 122, 170)
HSL
hsl(324, 43%, 64%)
CMYK
cmyk(0%, 40%, 16%, 21%)
HSV
hsv(324, 40%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.05:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.88: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: #CA7AAA;
color: #CA7AAA;
border-color: #CA7AAA;
}
Tailwind CSS (with arbitrary values)
bg-[#CA7AAA]
text-[#CA7AAA]
border-[#CA7AAA]
// Example usage:
<div className="bg-[#CA7AAA]">