Hex Color #C517DA - Custom Color

Color Codes

HEX
#C517DA
RGB
rgb(197, 23, 218)
HSL
hsl(294, 81%, 47%)
CMYK
cmyk(10%, 89%, 0%, 15%)
HSV
hsv(294, 89%, 85%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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