Hex Color #D2C6DD - Custom Color

Color Codes

HEX
#D2C6DD
RGB
rgb(210, 198, 221)
HSL
hsl(271, 25%, 82%)
CMYK
cmyk(5%, 10%, 0%, 13%)
HSV
hsv(271, 10%, 87%)
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.86: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: #D2C6DD;
color: #D2C6DD;
border-color: #D2C6DD;
}

Tailwind CSS (with arbitrary values)

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