Hex Color #EC9BEB - Custom Color

Color Codes

HEX
#EC9BEB
RGB
rgb(236, 155, 235)
HSL
hsl(301, 68%, 77%)
CMYK
cmyk(0%, 34%, 0%, 7%)
HSV
hsv(301, 34%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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