Hex Color #C287ED - Custom Color
Color Codes
HEX
#C287ED
RGB
rgb(194, 135, 237)
HSL
hsl(275, 74%, 73%)
CMYK
cmyk(18%, 43%, 0%, 7%)
HSV
hsv(275, 43%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.63:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.98: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: #C287ED;
color: #C287ED;
border-color: #C287ED;
}
Tailwind CSS (with arbitrary values)
bg-[#C287ED]
text-[#C287ED]
border-[#C287ED]
// Example usage:
<div className="bg-[#C287ED]">