Hex Color #A27FBB - Custom Color
Color Codes
HEX
#A27FBB
RGB
rgb(162, 127, 187)
HSL
hsl(275, 31%, 62%)
CMYK
cmyk(13%, 32%, 0%, 27%)
HSV
hsv(275, 32%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.34:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.29: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: #A27FBB;
color: #A27FBB;
border-color: #A27FBB;
}
Tailwind CSS (with arbitrary values)
bg-[#A27FBB]
text-[#A27FBB]
border-[#A27FBB]
// Example usage:
<div className="bg-[#A27FBB]">