Hex Color #6702EF - Custom Color
Color Codes
HEX
#6702EF
RGB
rgb(103, 2, 239)
HSL
hsl(266, 98%, 47%)
CMYK
cmyk(57%, 99%, 0%, 6%)
HSV
hsv(266, 99%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.42:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.83: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: #6702EF;
color: #6702EF;
border-color: #6702EF;
}
Tailwind CSS (with arbitrary values)
bg-[#6702EF]
text-[#6702EF]
border-[#6702EF]
// Example usage:
<div className="bg-[#6702EF]">