Hex Color #A86398 - Custom Color
Color Codes
HEX
#A86398
RGB
rgb(168, 99, 152)
HSL
hsl(314, 28%, 52%)
CMYK
cmyk(0%, 41%, 10%, 34%)
HSV
hsv(314, 41%, 66%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.28:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.90: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: #A86398;
color: #A86398;
border-color: #A86398;
}
Tailwind CSS (with arbitrary values)
bg-[#A86398]
text-[#A86398]
border-[#A86398]
// Example usage:
<div className="bg-[#A86398]">