Hex Color #A0548C - Custom Color

Color Codes

HEX
#A0548C
RGB
rgb(160, 84, 140)
HSL
hsl(316, 31%, 48%)
CMYK
cmyk(0%, 48%, 12%, 37%)
HSV
hsv(316, 48%, 63%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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