Hex Color #D064FE - Custom Color
Color Codes
HEX
#D064FE
RGB
rgb(208, 100, 254)
HSL
hsl(282, 99%, 69%)
CMYK
cmyk(18%, 61%, 0%, 0%)
HSV
hsv(282, 61%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.03:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.94: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: #D064FE;
color: #D064FE;
border-color: #D064FE;
}
Tailwind CSS (with arbitrary values)
bg-[#D064FE]
text-[#D064FE]
border-[#D064FE]
// Example usage:
<div className="bg-[#D064FE]">