Hex Color #A277BA - Custom Color
Color Codes
HEX
#A277BA
RGB
rgb(162, 119, 186)
HSL
hsl(279, 33%, 60%)
CMYK
cmyk(13%, 36%, 0%, 27%)
HSV
hsv(279, 36%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.57:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.88: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: #A277BA;
color: #A277BA;
border-color: #A277BA;
}
Tailwind CSS (with arbitrary values)
bg-[#A277BA]
text-[#A277BA]
border-[#A277BA]
// Example usage:
<div className="bg-[#A277BA]">