Hex Color #B062FD - Custom Color
Color Codes
HEX
#B062FD
RGB
rgb(176, 98, 253)
HSL
hsl(270, 97%, 69%)
CMYK
cmyk(30%, 61%, 0%, 1%)
HSV
hsv(270, 61%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.49:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.01: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: #B062FD;
color: #B062FD;
border-color: #B062FD;
}
Tailwind CSS (with arbitrary values)
bg-[#B062FD]
text-[#B062FD]
border-[#B062FD]
// Example usage:
<div className="bg-[#B062FD]">