Hex Color #DFD7F4 - Custom Color

Color Codes

HEX
#DFD7F4
RGB
rgb(223, 215, 244)
HSL
hsl(257, 57%, 90%)
CMYK
cmyk(9%, 12%, 0%, 4%)
HSV
hsv(257, 12%, 96%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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