Hex Color #D6C2DD - Custom Color
Color Codes
HEX
#D6C2DD
RGB
rgb(214, 194, 221)
HSL
hsl(284, 28%, 81%)
CMYK
cmyk(3%, 12%, 0%, 13%)
HSV
hsv(284, 12%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.66:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.62: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: #D6C2DD;
color: #D6C2DD;
border-color: #D6C2DD;
}
Tailwind CSS (with arbitrary values)
bg-[#D6C2DD]
text-[#D6C2DD]
border-[#D6C2DD]
// Example usage:
<div className="bg-[#D6C2DD]">