Hex Color #DCC7EF - Custom Color

Color Codes

HEX
#DCC7EF
RGB
rgb(220, 199, 239)
HSL
hsl(272, 56%, 86%)
CMYK
cmyk(8%, 17%, 0%, 6%)
HSV
hsv(272, 17%, 94%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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