Hex Color #DA6AFE - Custom Color
Color Codes
HEX
#DA6AFE
RGB
rgb(218, 106, 254)
HSL
hsl(285, 99%, 71%)
CMYK
cmyk(14%, 58%, 0%, 0%)
HSV
hsv(285, 58%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.81:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.47:1
Pass - WCAG AA (Normal Text)
Pass - 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: #DA6AFE;
color: #DA6AFE;
border-color: #DA6AFE;
}
Tailwind CSS (with arbitrary values)
bg-[#DA6AFE]
text-[#DA6AFE]
border-[#DA6AFE]
// Example usage:
<div className="bg-[#DA6AFE]">