Hex Color #E3B7FF - Custom Color

Color Codes

HEX
#E3B7FF
RGB
rgb(227, 183, 255)
HSL
hsl(277, 100%, 86%)
CMYK
cmyk(11%, 28%, 0%, 0%)
HSV
hsv(277, 28%, 100%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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