Hex Color #DEB3DD - Custom Color
Color Codes
HEX
#DEB3DD
RGB
rgb(222, 179, 221)
HSL
hsl(301, 39%, 79%)
CMYK
cmyk(0%, 19%, 0%, 13%)
HSV
hsv(301, 19%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.81:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.60:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #DEB3DD;
color: #DEB3DD;
border-color: #DEB3DD;
}
Tailwind CSS (with arbitrary values)
bg-[#DEB3DD]
text-[#DEB3DD]
border-[#DEB3DD]
// Example usage:
<div className="bg-[#DEB3DD]">