Hex Color #D25DDA - Custom Color
Color Codes
HEX
#D25DDA
RGB
rgb(210, 93, 218)
HSL
hsl(296, 63%, 61%)
CMYK
cmyk(4%, 57%, 0%, 15%)
HSV
hsv(296, 57%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.32:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.32: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: #D25DDA;
color: #D25DDA;
border-color: #D25DDA;
}
Tailwind CSS (with arbitrary values)
bg-[#D25DDA]
text-[#D25DDA]
border-[#D25DDA]
// Example usage:
<div className="bg-[#D25DDA]">