Hex Color #A674AD - Custom Color
Color Codes
HEX
#A674AD
RGB
rgb(166, 116, 173)
HSL
hsl(293, 26%, 57%)
CMYK
cmyk(4%, 33%, 0%, 32%)
HSV
hsv(293, 33%, 68%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.67:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.72: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: #A674AD;
color: #A674AD;
border-color: #A674AD;
}
Tailwind CSS (with arbitrary values)
bg-[#A674AD]
text-[#A674AD]
border-[#A674AD]
// Example usage:
<div className="bg-[#A674AD]">