Hex Color #786BBC - Custom Color

Color Codes

HEX
#786BBC
RGB
rgb(120, 107, 188)
HSL
hsl(250, 38%, 58%)
CMYK
cmyk(36%, 43%, 0%, 26%)
HSV
hsv(250, 43%, 74%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 4.54:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 4.63: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: #786BBC;
color: #786BBC;
border-color: #786BBC;
}

Tailwind CSS (with arbitrary values)

bg-[#786BBC]
text-[#786BBC]
border-[#786BBC]
// Example usage:
<div className="bg-[#786BBC]">