Hex Color #704CEF - Custom Color

Color Codes

HEX
#704CEF
RGB
rgb(112, 76, 239)
HSL
hsl(253, 84%, 62%)
CMYK
cmyk(53%, 68%, 0%, 6%)
HSV
hsv(253, 68%, 94%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.97: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: #704CEF;
color: #704CEF;
border-color: #704CEF;
}

Tailwind CSS (with arbitrary values)

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