Hex Color #BB87CB - Custom Color
Color Codes
HEX
#BB87CB
RGB
rgb(187, 135, 203)
HSL
hsl(286, 40%, 66%)
CMYK
cmyk(8%, 33%, 0%, 20%)
HSV
hsv(286, 33%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.82:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.44: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: #BB87CB;
color: #BB87CB;
border-color: #BB87CB;
}
Tailwind CSS (with arbitrary values)
bg-[#BB87CB]
text-[#BB87CB]
border-[#BB87CB]
// Example usage:
<div className="bg-[#BB87CB]">