Hex Color #A251CA - Custom Color
Color Codes
HEX
#A251CA
RGB
rgb(162, 81, 202)
HSL
hsl(280, 53%, 55%)
CMYK
cmyk(20%, 60%, 0%, 21%)
HSV
hsv(280, 60%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.60:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.57: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: #A251CA;
color: #A251CA;
border-color: #A251CA;
}
Tailwind CSS (with arbitrary values)
bg-[#A251CA]
text-[#A251CA]
border-[#A251CA]
// Example usage:
<div className="bg-[#A251CA]">