Hex Color #CC9BEF - Custom Color

Color Codes

HEX
#CC9BEF
RGB
rgb(204, 155, 239)
HSL
hsl(275, 72%, 77%)
CMYK
cmyk(15%, 35%, 0%, 6%)
HSV
hsv(275, 35%, 94%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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