Hex Color #D5CBEF - Custom Color
Color Codes
HEX
#D5CBEF
RGB
rgb(213, 203, 239)
HSL
hsl(257, 53%, 87%)
CMYK
cmyk(11%, 15%, 0%, 6%)
HSV
hsv(257, 15%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.54:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.62: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: #D5CBEF;
color: #D5CBEF;
border-color: #D5CBEF;
}
Tailwind CSS (with arbitrary values)
bg-[#D5CBEF]
text-[#D5CBEF]
border-[#D5CBEF]
// Example usage:
<div className="bg-[#D5CBEF]">