Hex Color #D337CE - Custom Color
Color Codes
HEX
#D337CE
RGB
rgb(211, 55, 206)
HSL
hsl(302, 64%, 52%)
CMYK
cmyk(0%, 74%, 2%, 17%)
HSV
hsv(302, 74%, 83%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.03:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.21: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: #D337CE;
color: #D337CE;
border-color: #D337CE;
}
Tailwind CSS (with arbitrary values)
bg-[#D337CE]
text-[#D337CE]
border-[#D337CE]
// Example usage:
<div className="bg-[#D337CE]">