Hex Color #AD21AE - Custom Color

Color Codes

HEX
#AD21AE
RGB
rgb(173, 33, 174)
HSL
hsl(300, 68%, 41%)
CMYK
cmyk(1%, 81%, 0%, 32%)
HSV
hsv(300, 81%, 68%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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