Hex Color #D9D5FD - Custom Color
Color Codes
HEX
#D9D5FD
RGB
rgb(217, 213, 253)
HSL
hsl(246, 91%, 91%)
CMYK
cmyk(14%, 16%, 0%, 1%)
HSV
hsv(246, 16%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.41:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 14.89: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: #D9D5FD;
color: #D9D5FD;
border-color: #D9D5FD;
}
Tailwind CSS (with arbitrary values)
bg-[#D9D5FD]
text-[#D9D5FD]
border-[#D9D5FD]
// Example usage:
<div className="bg-[#D9D5FD]">