Hex Color #D059EB - Custom Color
Color Codes
HEX
#D059EB
RGB
rgb(208, 89, 235)
HSL
hsl(289, 78%, 64%)
CMYK
cmyk(11%, 62%, 0%, 8%)
HSV
hsv(289, 62%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.33:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.31: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: #D059EB;
color: #D059EB;
border-color: #D059EB;
}
Tailwind CSS (with arbitrary values)
bg-[#D059EB]
text-[#D059EB]
border-[#D059EB]
// Example usage:
<div className="bg-[#D059EB]">