Hex Color #E1A5DB - Custom Color

Color Codes

HEX
#E1A5DB
RGB
rgb(225, 165, 219)
HSL
hsl(306, 50%, 76%)
CMYK
cmyk(0%, 27%, 3%, 12%)
HSV
hsv(306, 27%, 88%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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