Hex Color #AA7BDA - Custom Color
Color Codes
HEX
#AA7BDA
RGB
rgb(170, 123, 218)
HSL
hsl(270, 56%, 67%)
CMYK
cmyk(22%, 44%, 0%, 15%)
HSV
hsv(270, 44%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.20:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.55: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: #AA7BDA;
color: #AA7BDA;
border-color: #AA7BDA;
}
Tailwind CSS (with arbitrary values)
bg-[#AA7BDA]
text-[#AA7BDA]
border-[#AA7BDA]
// Example usage:
<div className="bg-[#AA7BDA]">