Hex Color #A2719E - Custom Color

Color Codes

HEX
#A2719E
RGB
rgb(162, 113, 158)
HSL
hsl(305, 21%, 54%)
CMYK
cmyk(0%, 30%, 2%, 36%)
HSV
hsv(305, 30%, 64%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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