Hex Color #B977EA - Custom Color
Color Codes
HEX
#B977EA
RGB
rgb(185, 119, 234)
HSL
hsl(274, 73%, 69%)
CMYK
cmyk(21%, 49%, 0%, 8%)
HSV
hsv(274, 49%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.05:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.89: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: #B977EA;
color: #B977EA;
border-color: #B977EA;
}
Tailwind CSS (with arbitrary values)
bg-[#B977EA]
text-[#B977EA]
border-[#B977EA]
// Example usage:
<div className="bg-[#B977EA]">