Hex Color #B262CE - Custom Color
Color Codes
HEX
#B262CE
RGB
rgb(178, 98, 206)
HSL
hsl(284, 52%, 60%)
CMYK
cmyk(14%, 52%, 0%, 19%)
HSV
hsv(284, 52%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.80:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.53: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: #B262CE;
color: #B262CE;
border-color: #B262CE;
}
Tailwind CSS (with arbitrary values)
bg-[#B262CE]
text-[#B262CE]
border-[#B262CE]
// Example usage:
<div className="bg-[#B262CE]">