Hex Color #765097 - Custom Color

Color Codes

HEX
#765097
RGB
rgb(118, 80, 151)
HSL
hsl(272, 31%, 45%)
CMYK
cmyk(22%, 47%, 0%, 41%)
HSV
hsv(272, 47%, 59%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.36: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: #765097;
color: #765097;
border-color: #765097;
}

Tailwind CSS (with arbitrary values)

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