Hex Color #DF52DC - Custom Color
Color Codes
HEX
#DF52DC
RGB
rgb(223, 82, 220)
HSL
hsl(301, 69%, 60%)
CMYK
cmyk(0%, 63%, 1%, 13%)
HSV
hsv(301, 63%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.29:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.38: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: #DF52DC;
color: #DF52DC;
border-color: #DF52DC;
}
Tailwind CSS (with arbitrary values)
bg-[#DF52DC]
text-[#DF52DC]
border-[#DF52DC]
// Example usage:
<div className="bg-[#DF52DC]">