Hex Color #D8BEFE - Custom Color
Color Codes
HEX
#D8BEFE
RGB
rgb(216, 190, 254)
HSL
hsl(264, 97%, 87%)
CMYK
cmyk(15%, 25%, 0%, 0%)
HSV
hsv(264, 25%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.65:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.72: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: #D8BEFE;
color: #D8BEFE;
border-color: #D8BEFE;
}
Tailwind CSS (with arbitrary values)
bg-[#D8BEFE]
text-[#D8BEFE]
border-[#D8BEFE]
// Example usage:
<div className="bg-[#D8BEFE]">