Hex Color #C287FB - Custom Color
Color Codes
HEX
#C287FB
RGB
rgb(194, 135, 251)
HSL
hsl(271, 94%, 76%)
CMYK
cmyk(23%, 46%, 0%, 2%)
HSV
hsv(271, 46%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.58:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.15: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: #C287FB;
color: #C287FB;
border-color: #C287FB;
}
Tailwind CSS (with arbitrary values)
bg-[#C287FB]
text-[#C287FB]
border-[#C287FB]
// Example usage:
<div className="bg-[#C287FB]">