Hex Color #B877CA - Custom Color
Color Codes
HEX
#B877CA
RGB
rgb(184, 119, 202)
HSL
hsl(287, 44%, 63%)
CMYK
cmyk(9%, 41%, 0%, 21%)
HSV
hsv(287, 41%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.22:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.53:1
Pass - WCAG AA (Normal Text)
Fail - 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: #B877CA;
color: #B877CA;
border-color: #B877CA;
}
Tailwind CSS (with arbitrary values)
bg-[#B877CA]
text-[#B877CA]
border-[#B877CA]
// Example usage:
<div className="bg-[#B877CA]">