Hex Color #CC74F5 - Custom Color

Color Codes

HEX
#CC74F5
RGB
rgb(204, 116, 245)
HSL
hsl(281, 87%, 71%)
CMYK
cmyk(17%, 53%, 0%, 4%)
HSV
hsv(281, 53%, 96%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 7.38:1
Pass - WCAG AA (Normal Text)
Pass - 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: #CC74F5;
color: #CC74F5;
border-color: #CC74F5;
}

Tailwind CSS (with arbitrary values)

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