Hex Color #CE9CCC - Custom Color

Color Codes

HEX
#CE9CCC
RGB
rgb(206, 156, 204)
HSL
hsl(302, 34%, 71%)
CMYK
cmyk(0%, 24%, 1%, 19%)
HSV
hsv(302, 24%, 81%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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