Hex Color #A05F8A - Custom Color
Color Codes
HEX
#A05F8A
RGB
rgb(160, 95, 138)
HSL
hsl(320, 25%, 50%)
CMYK
cmyk(0%, 41%, 14%, 37%)
HSV
hsv(320, 41%, 63%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.67:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.50:1
Fail - 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: #A05F8A;
color: #A05F8A;
border-color: #A05F8A;
}
Tailwind CSS (with arbitrary values)
bg-[#A05F8A]
text-[#A05F8A]
border-[#A05F8A]
// Example usage:
<div className="bg-[#A05F8A]">