Hex Color #AF3EDF - Custom Color
Color Codes
HEX
#AF3EDF
RGB
rgb(175, 62, 223)
HSL
hsl(282, 72%, 56%)
CMYK
cmyk(22%, 72%, 0%, 13%)
HSV
hsv(282, 72%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.59:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.58: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: #AF3EDF;
color: #AF3EDF;
border-color: #AF3EDF;
}
Tailwind CSS (with arbitrary values)
bg-[#AF3EDF]
text-[#AF3EDF]
border-[#AF3EDF]
// Example usage:
<div className="bg-[#AF3EDF]">