Hex Color #DA8DCB - Custom Color
Color Codes
HEX
#DA8DCB
RGB
rgb(218, 141, 203)
HSL
hsl(312, 51%, 70%)
CMYK
cmyk(0%, 35%, 7%, 15%)
HSV
hsv(312, 35%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.43:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.65:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #DA8DCB;
color: #DA8DCB;
border-color: #DA8DCB;
}
Tailwind CSS (with arbitrary values)
bg-[#DA8DCB]
text-[#DA8DCB]
border-[#DA8DCB]
// Example usage:
<div className="bg-[#DA8DCB]">