Hex Color #DE78FD - Custom Color
Color Codes
HEX
#DE78FD
RGB
rgb(222, 120, 253)
HSL
hsl(286, 97%, 73%)
CMYK
cmyk(12%, 53%, 0%, 1%)
HSV
hsv(286, 53%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.56:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.21: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: #DE78FD;
color: #DE78FD;
border-color: #DE78FD;
}
Tailwind CSS (with arbitrary values)
bg-[#DE78FD]
text-[#DE78FD]
border-[#DE78FD]
// Example usage:
<div className="bg-[#DE78FD]">