Hex Color #7971FE - Custom Color

Color Codes

HEX
#7971FE
RGB
rgb(121, 113, 254)
HSL
hsl(243, 99%, 72%)
CMYK
cmyk(52%, 56%, 0%, 0%)
HSV
hsv(243, 56%, 100%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 5.61: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: #7971FE;
color: #7971FE;
border-color: #7971FE;
}

Tailwind CSS (with arbitrary values)

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