Hex Color #C586D8 - Custom Color
Color Codes
HEX
#C586D8
RGB
rgb(197, 134, 216)
HSL
hsl(286, 51%, 69%)
CMYK
cmyk(9%, 38%, 0%, 15%)
HSV
hsv(286, 38%, 85%)
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.78: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: #C586D8;
color: #C586D8;
border-color: #C586D8;
}
Tailwind CSS (with arbitrary values)
bg-[#C586D8]
text-[#C586D8]
border-[#C586D8]
// Example usage:
<div className="bg-[#C586D8]">