Hex Color #DB4CEE - Custom Color
Color Codes
HEX
#DB4CEE
RGB
rgb(219, 76, 238)
HSL
hsl(293, 83%, 62%)
CMYK
cmyk(8%, 68%, 0%, 7%)
HSV
hsv(293, 68%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.34:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.28: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: #DB4CEE;
color: #DB4CEE;
border-color: #DB4CEE;
}
Tailwind CSS (with arbitrary values)
bg-[#DB4CEE]
text-[#DB4CEE]
border-[#DB4CEE]
// Example usage:
<div className="bg-[#DB4CEE]">