Hex Color #CC66EE - Custom Color

Color Codes

HEX
#CC66EE
RGB
rgb(204, 102, 238)
HSL
hsl(285, 80%, 67%)
CMYK
cmyk(14%, 57%, 0%, 7%)
HSV
hsv(285, 57%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 6.70:1
Pass - WCAG AA (Normal Text)
Fail - 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: #CC66EE;
color: #CC66EE;
border-color: #CC66EE;
}

Tailwind CSS (with arbitrary values)

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