Hex Color #9318CD - Custom Color
Color Codes
HEX
#9318CD
RGB
rgb(147, 24, 205)
HSL
hsl(281, 79%, 45%)
CMYK
cmyk(28%, 88%, 0%, 20%)
HSV
hsv(281, 88%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.46:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.25:1
Fail - 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: #9318CD;
color: #9318CD;
border-color: #9318CD;
}
Tailwind CSS (with arbitrary values)
bg-[#9318CD]
text-[#9318CD]
border-[#9318CD]
// Example usage:
<div className="bg-[#9318CD]">