Hex Color #D766CE - Custom Color
Color Codes
HEX
#D766CE
RGB
rgb(215, 102, 206)
HSL
hsl(305, 59%, 62%)
CMYK
cmyk(0%, 53%, 4%, 16%)
HSV
hsv(305, 53%, 84%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.14:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.68: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: #D766CE;
color: #D766CE;
border-color: #D766CE;
}
Tailwind CSS (with arbitrary values)
bg-[#D766CE]
text-[#D766CE]
border-[#D766CE]
// Example usage:
<div className="bg-[#D766CE]">