Hex Color #CD9ECA - Custom Color

Color Codes

HEX
#CD9ECA
RGB
rgb(205, 158, 202)
HSL
hsl(304, 32%, 71%)
CMYK
cmyk(0%, 23%, 1%, 20%)
HSV
hsv(304, 23%, 80%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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