Hex Color #DCAFF3 - Custom Color

Color Codes

HEX
#DCAFF3
RGB
rgb(220, 175, 243)
HSL
hsl(280, 74%, 82%)
CMYK
cmyk(9%, 28%, 0%, 5%)
HSV
hsv(280, 28%, 95%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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