Hex Color #CD9EED - Custom Color

Color Codes

HEX
#CD9EED
RGB
rgb(205, 158, 237)
HSL
hsl(276, 69%, 77%)
CMYK
cmyk(14%, 33%, 0%, 7%)
HSV
hsv(276, 33%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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