Hex Color #7868CC - Custom Color
Color Codes
HEX
#7868CC
RGB
rgb(120, 104, 204)
HSL
hsl(250, 50%, 60%)
CMYK
cmyk(41%, 49%, 0%, 20%)
HSV
hsv(250, 49%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.52:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.65: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: #7868CC;
color: #7868CC;
border-color: #7868CC;
}
Tailwind CSS (with arbitrary values)
bg-[#7868CC]
text-[#7868CC]
border-[#7868CC]
// Example usage:
<div className="bg-[#7868CC]">