Hex Color #E5BFFC - Custom Color

Color Codes

HEX
#E5BFFC
RGB
rgb(229, 191, 252)
HSL
hsl(277, 91%, 87%)
CMYK
cmyk(9%, 24%, 0%, 1%)
HSV
hsv(277, 24%, 99%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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