Hex Color #A056DF - Custom Color
Color Codes
HEX
#A056DF
RGB
rgb(160, 86, 223)
HSL
hsl(272, 68%, 61%)
CMYK
cmyk(28%, 61%, 0%, 13%)
HSV
hsv(272, 61%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.29:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.89: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: #A056DF;
color: #A056DF;
border-color: #A056DF;
}
Tailwind CSS (with arbitrary values)
bg-[#A056DF]
text-[#A056DF]
border-[#A056DF]
// Example usage:
<div className="bg-[#A056DF]">