Hex Color #DFD2EB - Custom Color
Color Codes
HEX
#DFD2EB
RGB
rgb(223, 210, 235)
HSL
hsl(271, 38%, 87%)
CMYK
cmyk(5%, 11%, 0%, 8%)
HSV
hsv(271, 11%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.44:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 14.56: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: #DFD2EB;
color: #DFD2EB;
border-color: #DFD2EB;
}
Tailwind CSS (with arbitrary values)
bg-[#DFD2EB]
text-[#DFD2EB]
border-[#DFD2EB]
// Example usage:
<div className="bg-[#DFD2EB]">