Hex Color #DCB9D8 - Custom Color
Color Codes
HEX
#DCB9D8
RGB
rgb(220, 185, 216)
HSL
hsl(307, 33%, 79%)
CMYK
cmyk(0%, 16%, 2%, 14%)
HSV
hsv(307, 16%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.75:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.97: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: #DCB9D8;
color: #DCB9D8;
border-color: #DCB9D8;
}
Tailwind CSS (with arbitrary values)
bg-[#DCB9D8]
text-[#DCB9D8]
border-[#DCB9D8]
// Example usage:
<div className="bg-[#DCB9D8]">