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