Hex Color #C90DFD - Custom Color
Color Codes
HEX
#C90DFD
RGB
rgb(201, 13, 253)
HSL
hsl(287, 98%, 52%)
CMYK
cmyk(21%, 95%, 0%, 1%)
HSV
hsv(287, 95%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.23:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.96: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: #C90DFD;
color: #C90DFD;
border-color: #C90DFD;
}
Tailwind CSS (with arbitrary values)
bg-[#C90DFD]
text-[#C90DFD]
border-[#C90DFD]
// Example usage:
<div className="bg-[#C90DFD]">