Hex Color #C4A4FE - Custom Color

Color Codes

HEX
#C4A4FE
RGB
rgb(196, 164, 254)
HSL
hsl(261, 98%, 82%)
CMYK
cmyk(23%, 35%, 0%, 0%)
HSV
hsv(261, 35%, 100%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 10.09:1
Pass - WCAG AA (Normal Text)
Pass - 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: #C4A4FE;
color: #C4A4FE;
border-color: #C4A4FE;
}

Tailwind CSS (with arbitrary values)

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