Hex Color #D46CFC - Custom Color
Color Codes
HEX
#D46CFC
RGB
rgb(212, 108, 252)
HSL
hsl(283, 96%, 71%)
CMYK
cmyk(16%, 57%, 0%, 1%)
HSV
hsv(283, 57%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.86:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.35: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: #D46CFC;
color: #D46CFC;
border-color: #D46CFC;
}
Tailwind CSS (with arbitrary values)
bg-[#D46CFC]
text-[#D46CFC]
border-[#D46CFC]
// Example usage:
<div className="bg-[#D46CFC]">