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