Hex Color #A8679D - Custom Color
Color Codes
HEX
#A8679D
RGB
rgb(168, 103, 157)
HSL
hsl(310, 27%, 53%)
CMYK
cmyk(0%, 39%, 7%, 34%)
HSV
hsv(310, 39%, 66%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.12:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.09: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: #A8679D;
color: #A8679D;
border-color: #A8679D;
}
Tailwind CSS (with arbitrary values)
bg-[#A8679D]
text-[#A8679D]
border-[#A8679D]
// Example usage:
<div className="bg-[#A8679D]">