Hex Color #D037CD - Custom Color
Color Codes
HEX
#D037CD
RGB
rgb(208, 55, 205)
HSL
hsl(301, 62%, 52%)
CMYK
cmyk(0%, 74%, 1%, 18%)
HSV
hsv(301, 74%, 82%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.11:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.11: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: #D037CD;
color: #D037CD;
border-color: #D037CD;
}
Tailwind CSS (with arbitrary values)
bg-[#D037CD]
text-[#D037CD]
border-[#D037CD]
// Example usage:
<div className="bg-[#D037CD]">