Hex Color #E4AEFC - Custom Color

Color Codes

HEX
#E4AEFC
RGB
rgb(228, 174, 252)
HSL
hsl(282, 93%, 84%)
CMYK
cmyk(10%, 31%, 0%, 1%)
HSV
hsv(282, 31%, 99%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Recommended Text Color

For best readability on this background color, use black text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #E4AEFC;
color: #E4AEFC;
border-color: #E4AEFC;
}

Tailwind CSS (with arbitrary values)

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