Hex Color #D766CC - Custom Color

Color Codes

HEX
#D766CC
RGB
rgb(215, 102, 204)
HSL
hsl(306, 59%, 62%)
CMYK
cmyk(0%, 53%, 5%, 16%)
HSV
hsv(306, 53%, 84%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 6.66:1
Pass - WCAG AA (Normal Text)
Fail - 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: #D766CC;
color: #D766CC;
border-color: #D766CC;
}

Tailwind CSS (with arbitrary values)

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