Hex Color #BAB1DE - Custom Color
Color Codes
HEX
#BAB1DE
RGB
rgb(186, 177, 222)
HSL
hsl(252, 41%, 78%)
CMYK
cmyk(16%, 20%, 0%, 13%)
HSV
hsv(252, 20%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.01:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.43:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #BAB1DE;
color: #BAB1DE;
border-color: #BAB1DE;
}
Tailwind CSS (with arbitrary values)
bg-[#BAB1DE]
text-[#BAB1DE]
border-[#BAB1DE]
// Example usage:
<div className="bg-[#BAB1DE]">