Hex Color #A770EF - Custom Color
Color Codes
HEX
#A770EF
RGB
rgb(167, 112, 239)
HSL
hsl(266, 80%, 69%)
CMYK
cmyk(30%, 53%, 0%, 6%)
HSV
hsv(266, 53%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.38:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.21: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: #A770EF;
color: #A770EF;
border-color: #A770EF;
}
Tailwind CSS (with arbitrary values)
bg-[#A770EF]
text-[#A770EF]
border-[#A770EF]
// Example usage:
<div className="bg-[#A770EF]">