Hex Color #D313CC - Custom Color

Color Codes

HEX
#D313CC
RGB
rgb(211, 19, 204)
HSL
hsl(302, 83%, 45%)
CMYK
cmyk(0%, 91%, 3%, 17%)
HSV
hsv(302, 91%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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