Hex Color #C313EB - Custom Color
Color Codes
HEX
#C313EB
RGB
rgb(195, 19, 235)
HSL
hsl(289, 85%, 50%)
CMYK
cmyk(17%, 92%, 0%, 8%)
HSV
hsv(289, 92%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.55:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.61: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: #C313EB;
color: #C313EB;
border-color: #C313EB;
}
Tailwind CSS (with arbitrary values)
bg-[#C313EB]
text-[#C313EB]
border-[#C313EB]
// Example usage:
<div className="bg-[#C313EB]">