Hex Color #DF54DC - Custom Color

Color Codes

HEX
#DF54DC
RGB
rgb(223, 84, 220)
HSL
hsl(301, 68%, 60%)
CMYK
cmyk(0%, 62%, 1%, 13%)
HSV
hsv(301, 62%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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