Hex Color #CA86CA - Custom Color
Color Codes
HEX
#CA86CA
RGB
rgb(202, 134, 202)
HSL
hsl(300, 39%, 66%)
CMYK
cmyk(0%, 34%, 0%, 21%)
HSV
hsv(300, 34%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.70:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.77:1
Pass - WCAG AA (Normal Text)
Pass - 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: #CA86CA;
color: #CA86CA;
border-color: #CA86CA;
}
Tailwind CSS (with arbitrary values)
bg-[#CA86CA]
text-[#CA86CA]
border-[#CA86CA]
// Example usage:
<div className="bg-[#CA86CA]">