Hex Color #A868F8 - Custom Color
Color Codes
HEX
#A868F8
RGB
rgb(168, 104, 248)
HSL
hsl(267, 91%, 69%)
CMYK
cmyk(32%, 58%, 0%, 3%)
HSV
hsv(267, 58%, 97%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.50:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.00: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: #A868F8;
color: #A868F8;
border-color: #A868F8;
}
Tailwind CSS (with arbitrary values)
bg-[#A868F8]
text-[#A868F8]
border-[#A868F8]
// Example usage:
<div className="bg-[#A868F8]">