Hex Color #AF72F0 - Custom Color
Color Codes
HEX
#AF72F0
RGB
rgb(175, 114, 240)
HSL
hsl(269, 81%, 69%)
CMYK
cmyk(27%, 53%, 0%, 6%)
HSV
hsv(269, 53%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.24:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.49: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: #AF72F0;
color: #AF72F0;
border-color: #AF72F0;
}
Tailwind CSS (with arbitrary values)
bg-[#AF72F0]
text-[#AF72F0]
border-[#AF72F0]
// Example usage:
<div className="bg-[#AF72F0]">