Hex Color #B987BB - Custom Color
Color Codes
HEX
#B987BB
RGB
rgb(185, 135, 187)
HSL
hsl(298, 28%, 63%)
CMYK
cmyk(1%, 28%, 0%, 27%)
HSV
hsv(298, 28%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.90:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.25: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: #B987BB;
color: #B987BB;
border-color: #B987BB;
}
Tailwind CSS (with arbitrary values)
bg-[#B987BB]
text-[#B987BB]
border-[#B987BB]
// Example usage:
<div className="bg-[#B987BB]">