Hex Color #D2BADC - Custom Color
Color Codes
HEX
#D2BADC
RGB
rgb(210, 186, 220)
HSL
hsl(282, 33%, 80%)
CMYK
cmyk(5%, 15%, 0%, 14%)
HSV
hsv(282, 15%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.78:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.80: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: #D2BADC;
color: #D2BADC;
border-color: #D2BADC;
}
Tailwind CSS (with arbitrary values)
bg-[#D2BADC]
text-[#D2BADC]
border-[#D2BADC]
// Example usage:
<div className="bg-[#D2BADC]">