Hex Color #D9AEF3 - Custom Color
Color Codes
HEX
#D9AEF3
RGB
rgb(217, 174, 243)
HSL
hsl(277, 74%, 82%)
CMYK
cmyk(11%, 28%, 0%, 5%)
HSV
hsv(277, 28%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.86:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.30: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: #D9AEF3;
color: #D9AEF3;
border-color: #D9AEF3;
}
Tailwind CSS (with arbitrary values)
bg-[#D9AEF3]
text-[#D9AEF3]
border-[#D9AEF3]
// Example usage:
<div className="bg-[#D9AEF3]">