Hex Color #ABA7DE - Custom Color
Color Codes
HEX
#ABA7DE
RGB
rgb(171, 167, 222)
HSL
hsl(244, 45%, 76%)
CMYK
cmyk(23%, 25%, 0%, 13%)
HSV
hsv(244, 25%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.25:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.31: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: #ABA7DE;
color: #ABA7DE;
border-color: #ABA7DE;
}
Tailwind CSS (with arbitrary values)
bg-[#ABA7DE]
text-[#ABA7DE]
border-[#ABA7DE]
// Example usage:
<div className="bg-[#ABA7DE]">