Hex Color #DA38BD - Custom Color
Color Codes
HEX
#DA38BD
RGB
rgb(218, 56, 189)
HSL
hsl(311, 69%, 54%)
CMYK
cmyk(0%, 74%, 13%, 15%)
HSV
hsv(311, 74%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.98:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.28: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: #DA38BD;
color: #DA38BD;
border-color: #DA38BD;
}
Tailwind CSS (with arbitrary values)
bg-[#DA38BD]
text-[#DA38BD]
border-[#DA38BD]
// Example usage:
<div className="bg-[#DA38BD]">