Hex Color #AF73DA - Custom Color

Color Codes

HEX
#AF73DA
RGB
rgb(175, 115, 218)
HSL
hsl(275, 58%, 65%)
CMYK
cmyk(20%, 47%, 0%, 15%)
HSV
hsv(275, 47%, 85%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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