Hex Color #DC5CDF - Custom Color

Color Codes

HEX
#DC5CDF
RGB
rgb(220, 92, 223)
HSL
hsl(299, 67%, 62%)
CMYK
cmyk(1%, 59%, 0%, 13%)
HSV
hsv(299, 59%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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