Hex Color #D989D5 - Custom Color
Color Codes
HEX
#D989D5
RGB
rgb(217, 137, 213)
HSL
hsl(303, 51%, 69%)
CMYK
cmyk(0%, 37%, 2%, 15%)
HSV
hsv(303, 37%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.47:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.49: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: #D989D5;
color: #D989D5;
border-color: #D989D5;
}
Tailwind CSS (with arbitrary values)
bg-[#D989D5]
text-[#D989D5]
border-[#D989D5]
// Example usage:
<div className="bg-[#D989D5]">