Hex Color #DCA4DE - Custom Color

Color Codes

HEX
#DCA4DE
RGB
rgb(220, 164, 222)
HSL
hsl(298, 47%, 76%)
CMYK
cmyk(1%, 26%, 0%, 13%)
HSV
hsv(298, 26%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 2.02:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 10.41: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: #DCA4DE;
color: #DCA4DE;
border-color: #DCA4DE;
}

Tailwind CSS (with arbitrary values)

bg-[#DCA4DE]
text-[#DCA4DE]
border-[#DCA4DE]
// Example usage:
<div className="bg-[#DCA4DE]">