Hex Color #5643FB - Custom Color

Color Codes

HEX
#5643FB
RGB
rgb(86, 67, 251)
HSL
hsl(246, 96%, 62%)
CMYK
cmyk(66%, 73%, 0%, 2%)
HSV
hsv(246, 73%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.59: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: #5643FB;
color: #5643FB;
border-color: #5643FB;
}

Tailwind CSS (with arbitrary values)

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