Hex Color #AB54AA - Custom Color
Color Codes
HEX
#AB54AA
RGB
rgb(171, 84, 170)
HSL
hsl(301, 34%, 50%)
CMYK
cmyk(0%, 51%, 1%, 33%)
HSV
hsv(301, 51%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.58:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.58: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: #AB54AA;
color: #AB54AA;
border-color: #AB54AA;
}
Tailwind CSS (with arbitrary values)
bg-[#AB54AA]
text-[#AB54AA]
border-[#AB54AA]
// Example usage:
<div className="bg-[#AB54AA]">