Hex Color #A8B9FA - Custom Color
Color Codes
HEX
#A8B9FA
RGB
rgb(168, 185, 250)
HSL
hsl(228, 89%, 82%)
CMYK
cmyk(33%, 26%, 0%, 2%)
HSV
hsv(228, 33%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.91:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.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: #A8B9FA;
color: #A8B9FA;
border-color: #A8B9FA;
}
Tailwind CSS (with arbitrary values)
bg-[#A8B9FA]
text-[#A8B9FA]
border-[#A8B9FA]
// Example usage:
<div className="bg-[#A8B9FA]">