Hex Color #CA6DBA - Custom Color
Color Codes
HEX
#CA6DBA
RGB
rgb(202, 109, 186)
HSL
hsl(310, 47%, 61%)
CMYK
cmyk(0%, 46%, 8%, 21%)
HSV
hsv(310, 46%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.28:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.41: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: #CA6DBA;
color: #CA6DBA;
border-color: #CA6DBA;
}
Tailwind CSS (with arbitrary values)
bg-[#CA6DBA]
text-[#CA6DBA]
border-[#CA6DBA]
// Example usage:
<div className="bg-[#CA6DBA]">