Hex Color #D1CEED - Custom Color
Color Codes
HEX
#D1CEED
RGB
rgb(209, 206, 237)
HSL
hsl(246, 46%, 87%)
CMYK
cmyk(12%, 13%, 0%, 7%)
HSV
hsv(246, 13%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.53:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.76: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: #D1CEED;
color: #D1CEED;
border-color: #D1CEED;
}
Tailwind CSS (with arbitrary values)
bg-[#D1CEED]
text-[#D1CEED]
border-[#D1CEED]
// Example usage:
<div className="bg-[#D1CEED]">