Hex Color #AB91EB - Custom Color
Color Codes
HEX
#AB91EB
RGB
rgb(171, 145, 235)
HSL
hsl(257, 69%, 75%)
CMYK
cmyk(27%, 38%, 0%, 8%)
HSV
hsv(257, 38%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.63:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.98: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: #AB91EB;
color: #AB91EB;
border-color: #AB91EB;
}
Tailwind CSS (with arbitrary values)
bg-[#AB91EB]
text-[#AB91EB]
border-[#AB91EB]
// Example usage:
<div className="bg-[#AB91EB]">