Hex Color #DCA4ED - Custom Color
Color Codes
HEX
#DCA4ED
RGB
rgb(220, 164, 237)
HSL
hsl(286, 67%, 79%)
CMYK
cmyk(7%, 31%, 0%, 7%)
HSV
hsv(286, 31%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.99:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.58:1
Pass - WCAG AA (Normal Text)
Pass - 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: #DCA4ED;
color: #DCA4ED;
border-color: #DCA4ED;
}
Tailwind CSS (with arbitrary values)
bg-[#DCA4ED]
text-[#DCA4ED]
border-[#DCA4ED]
// Example usage:
<div className="bg-[#DCA4ED]">