Hex Color #ED87FC - Custom Color

Color Codes

HEX
#ED87FC
RGB
rgb(237, 135, 252)
HSL
hsl(292, 95%, 76%)
CMYK
cmyk(6%, 46%, 0%, 1%)
HSV
hsv(292, 46%, 99%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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