Hex Color #D681FB - Custom Color
Color Codes
HEX
#D681FB
RGB
rgb(214, 129, 251)
HSL
hsl(282, 94%, 75%)
CMYK
cmyk(15%, 49%, 0%, 2%)
HSV
hsv(282, 49%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.50:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.39: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: #D681FB;
color: #D681FB;
border-color: #D681FB;
}
Tailwind CSS (with arbitrary values)
bg-[#D681FB]
text-[#D681FB]
border-[#D681FB]
// Example usage:
<div className="bg-[#D681FB]">