Hex Color #A827CE - Custom Color
Color Codes
HEX
#A827CE
RGB
rgb(168, 39, 206)
HSL
hsl(286, 68%, 48%)
CMYK
cmyk(18%, 81%, 0%, 19%)
HSV
hsv(286, 81%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.46:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.85: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: #A827CE;
color: #A827CE;
border-color: #A827CE;
}
Tailwind CSS (with arbitrary values)
bg-[#A827CE]
text-[#A827CE]
border-[#A827CE]
// Example usage:
<div className="bg-[#A827CE]">