Hex Color #D862CE - Custom Color
Color Codes
HEX
#D862CE
RGB
rgb(216, 98, 206)
HSL
hsl(305, 60%, 62%)
CMYK
cmyk(0%, 55%, 5%, 15%)
HSV
hsv(305, 55%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.20:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.56: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: #D862CE;
color: #D862CE;
border-color: #D862CE;
}
Tailwind CSS (with arbitrary values)
bg-[#D862CE]
text-[#D862CE]
border-[#D862CE]
// Example usage:
<div className="bg-[#D862CE]">