Hex Color #A18BBE - Custom Color
Color Codes
HEX
#A18BBE
RGB
rgb(161, 139, 190)
HSL
hsl(266, 28%, 65%)
CMYK
cmyk(15%, 27%, 0%, 25%)
HSV
hsv(266, 27%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.02:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.95: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: #A18BBE;
color: #A18BBE;
border-color: #A18BBE;
}
Tailwind CSS (with arbitrary values)
bg-[#A18BBE]
text-[#A18BBE]
border-[#A18BBE]
// Example usage:
<div className="bg-[#A18BBE]">