Hex Color #D073EF - Custom Color
Color Codes
HEX
#D073EF
RGB
rgb(208, 115, 239)
HSL
hsl(285, 79%, 69%)
CMYK
cmyk(13%, 52%, 0%, 6%)
HSV
hsv(285, 52%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.85:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.38: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: #D073EF;
color: #D073EF;
border-color: #D073EF;
}
Tailwind CSS (with arbitrary values)
bg-[#D073EF]
text-[#D073EF]
border-[#D073EF]
// Example usage:
<div className="bg-[#D073EF]">