Hex Color #AA9CBE - Custom Color
Color Codes
HEX
#AA9CBE
RGB
rgb(170, 156, 190)
HSL
hsl(265, 21%, 68%)
CMYK
cmyk(11%, 18%, 0%, 25%)
HSV
hsv(265, 18%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.56:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.21:1
Pass - WCAG AA (Normal Text)
Pass - 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: #AA9CBE;
color: #AA9CBE;
border-color: #AA9CBE;
}
Tailwind CSS (with arbitrary values)
bg-[#AA9CBE]
text-[#AA9CBE]
border-[#AA9CBE]
// Example usage:
<div className="bg-[#AA9CBE]">