Hex Color #D976CE - Custom Color
Color Codes
HEX
#D976CE
RGB
rgb(217, 118, 206)
HSL
hsl(307, 57%, 66%)
CMYK
cmyk(0%, 46%, 5%, 15%)
HSV
hsv(307, 46%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.83:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.43: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: #D976CE;
color: #D976CE;
border-color: #D976CE;
}
Tailwind CSS (with arbitrary values)
bg-[#D976CE]
text-[#D976CE]
border-[#D976CE]
// Example usage:
<div className="bg-[#D976CE]">