Hex Color #A875CA - Custom Color
Color Codes
HEX
#A875CA
RGB
rgb(168, 117, 202)
HSL
hsl(276, 45%, 63%)
CMYK
cmyk(17%, 42%, 0%, 21%)
HSV
hsv(276, 42%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.46:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.06: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: #A875CA;
color: #A875CA;
border-color: #A875CA;
}
Tailwind CSS (with arbitrary values)
bg-[#A875CA]
text-[#A875CA]
border-[#A875CA]
// Example usage:
<div className="bg-[#A875CA]">