Hex Color #B7B5DB - Custom Color
Color Codes
HEX
#B7B5DB
RGB
rgb(183, 181, 219)
HSL
hsl(243, 35%, 78%)
CMYK
cmyk(16%, 17%, 0%, 14%)
HSV
hsv(243, 17%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.97:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.65: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: #B7B5DB;
color: #B7B5DB;
border-color: #B7B5DB;
}
Tailwind CSS (with arbitrary values)
bg-[#B7B5DB]
text-[#B7B5DB]
border-[#B7B5DB]
// Example usage:
<div className="bg-[#B7B5DB]">