Hex Color #A85999 - Custom Color

Color Codes

HEX
#A85999
RGB
rgb(168, 89, 153)
HSL
hsl(311, 31%, 50%)
CMYK
cmyk(0%, 47%, 9%, 34%)
HSV
hsv(311, 47%, 66%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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