Hex Color #8162DD - Custom Color
Color Codes
HEX
#8162DD
RGB
rgb(129, 98, 221)
HSL
hsl(255, 64%, 63%)
CMYK
cmyk(42%, 56%, 0%, 13%)
HSV
hsv(255, 56%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.44:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.72: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: #8162DD;
color: #8162DD;
border-color: #8162DD;
}
Tailwind CSS (with arbitrary values)
bg-[#8162DD]
text-[#8162DD]
border-[#8162DD]
// Example usage:
<div className="bg-[#8162DD]">