Hex Color #CD48DE - Custom Color

Color Codes

HEX
#CD48DE
RGB
rgb(205, 72, 222)
HSL
hsl(293, 69%, 58%)
CMYK
cmyk(8%, 68%, 0%, 13%)
HSV
hsv(293, 68%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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