Hex Color #A952BD - Custom Color
Color Codes
HEX
#A952BD
RGB
rgb(169, 82, 189)
HSL
hsl(289, 45%, 53%)
CMYK
cmyk(11%, 57%, 0%, 26%)
HSV
hsv(289, 57%, 74%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.54:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.63: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: #A952BD;
color: #A952BD;
border-color: #A952BD;
}
Tailwind CSS (with arbitrary values)
bg-[#A952BD]
text-[#A952BD]
border-[#A952BD]
// Example usage:
<div className="bg-[#A952BD]">