Hex Color #D09CDD - Custom Color

Color Codes

HEX
#D09CDD
RGB
rgb(208, 156, 221)
HSL
hsl(288, 49%, 74%)
CMYK
cmyk(6%, 29%, 0%, 13%)
HSV
hsv(288, 29%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 9.48:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #D09CDD;
color: #D09CDD;
border-color: #D09CDD;
}

Tailwind CSS (with arbitrary values)

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