Hex Color #AF73CA - Custom Color
Color Codes
HEX
#AF73CA
RGB
rgb(175, 115, 202)
HSL
hsl(281, 45%, 62%)
CMYK
cmyk(13%, 43%, 0%, 21%)
HSV
hsv(281, 43%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.43:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.13: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: #AF73CA;
color: #AF73CA;
border-color: #AF73CA;
}
Tailwind CSS (with arbitrary values)
bg-[#AF73CA]
text-[#AF73CA]
border-[#AF73CA]
// Example usage:
<div className="bg-[#AF73CA]">