Hex Color #AC7CCA - Custom Color

Color Codes

HEX
#AC7CCA
RGB
rgb(172, 124, 202)
HSL
hsl(277, 42%, 64%)
CMYK
cmyk(15%, 39%, 0%, 21%)
HSV
hsv(277, 39%, 79%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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