Hex Color #CAC7EB - Custom Color

Color Codes

HEX
#CAC7EB
RGB
rgb(202, 199, 235)
HSL
hsl(245, 47%, 85%)
CMYK
cmyk(14%, 15%, 0%, 8%)
HSV
hsv(245, 15%, 92%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 12.88:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use black text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #CAC7EB;
color: #CAC7EB;
border-color: #CAC7EB;
}

Tailwind CSS (with arbitrary values)

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