Hex Color #D47BEE - Custom Color
Color Codes
HEX
#D47BEE
RGB
rgb(212, 123, 238)
HSL
hsl(286, 77%, 71%)
CMYK
cmyk(11%, 48%, 0%, 7%)
HSV
hsv(286, 48%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.67:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.87: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: #D47BEE;
color: #D47BEE;
border-color: #D47BEE;
}
Tailwind CSS (with arbitrary values)
bg-[#D47BEE]
text-[#D47BEE]
border-[#D47BEE]
// Example usage:
<div className="bg-[#D47BEE]">