Hex Color #A59CEB - Custom Color
Color Codes
HEX
#A59CEB
RGB
rgb(165, 156, 235)
HSL
hsl(247, 66%, 77%)
CMYK
cmyk(30%, 34%, 0%, 8%)
HSV
hsv(247, 34%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.45:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.55: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: #A59CEB;
color: #A59CEB;
border-color: #A59CEB;
}
Tailwind CSS (with arbitrary values)
bg-[#A59CEB]
text-[#A59CEB]
border-[#A59CEB]
// Example usage:
<div className="bg-[#A59CEB]">