Hex Color #D3CCF5 - Custom Color

Color Codes

HEX
#D3CCF5
RGB
rgb(211, 204, 245)
HSL
hsl(250, 67%, 88%)
CMYK
cmyk(14%, 17%, 0%, 4%)
HSV
hsv(250, 17%, 96%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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