Hex Color #B772CC - Custom Color
Color Codes
HEX
#B772CC
RGB
rgb(183, 114, 204)
HSL
hsl(286, 47%, 62%)
CMYK
cmyk(10%, 44%, 0%, 20%)
HSV
hsv(286, 44%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.34:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.29: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: #B772CC;
color: #B772CC;
border-color: #B772CC;
}
Tailwind CSS (with arbitrary values)
bg-[#B772CC]
text-[#B772CC]
border-[#B772CC]
// Example usage:
<div className="bg-[#B772CC]">