Hex Color #CA9CC2 - Custom Color

Color Codes

HEX
#CA9CC2
RGB
rgb(202, 156, 194)
HSL
hsl(310, 30%, 70%)
CMYK
cmyk(0%, 23%, 4%, 21%)
HSV
hsv(310, 23%, 79%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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