Hex Color #A25BAA - Custom Color
Color Codes
HEX
#A25BAA
RGB
rgb(162, 91, 170)
HSL
hsl(294, 32%, 51%)
CMYK
cmyk(5%, 46%, 0%, 33%)
HSV
hsv(294, 46%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.55:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.61: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: #A25BAA;
color: #A25BAA;
border-color: #A25BAA;
}
Tailwind CSS (with arbitrary values)
bg-[#A25BAA]
text-[#A25BAA]
border-[#A25BAA]
// Example usage:
<div className="bg-[#A25BAA]">