Hex Color #AF82BC - Custom Color

Color Codes

HEX
#AF82BC
RGB
rgb(175, 130, 188)
HSL
hsl(287, 30%, 62%)
CMYK
cmyk(7%, 31%, 0%, 26%)
HSV
hsv(287, 31%, 74%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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