Hex Color #D01DDC - Custom Color

Color Codes

HEX
#D01DDC
RGB
rgb(208, 29, 220)
HSL
hsl(296, 77%, 49%)
CMYK
cmyk(5%, 87%, 0%, 14%)
HSV
hsv(296, 87%, 86%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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