Hex Color #E287FE - Custom Color

Color Codes

HEX
#E287FE
RGB
rgb(226, 135, 254)
HSL
hsl(286, 98%, 76%)
CMYK
cmyk(11%, 47%, 0%, 0%)
HSV
hsv(286, 47%, 100%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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