Hex Color #CA6AAE - Custom Color
Color Codes
HEX
#CA6AAE
RGB
rgb(202, 106, 174)
HSL
hsl(317, 48%, 60%)
CMYK
cmyk(0%, 48%, 14%, 21%)
HSV
hsv(317, 48%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.40:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.18: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: #CA6AAE;
color: #CA6AAE;
border-color: #CA6AAE;
}
Tailwind CSS (with arbitrary values)
bg-[#CA6AAE]
text-[#CA6AAE]
border-[#CA6AAE]
// Example usage:
<div className="bg-[#CA6AAE]">