Hex Color #CD6DBA - Custom Color
Color Codes
HEX
#CD6DBA
RGB
rgb(205, 109, 186)
HSL
hsl(312, 49%, 62%)
CMYK
cmyk(0%, 47%, 9%, 20%)
HSV
hsv(312, 47%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.23:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.49: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: #CD6DBA;
color: #CD6DBA;
border-color: #CD6DBA;
}
Tailwind CSS (with arbitrary values)
bg-[#CD6DBA]
text-[#CD6DBA]
border-[#CD6DBA]
// Example usage:
<div className="bg-[#CD6DBA]">