Hex Color #D70AD6 - Custom Color

Color Codes

HEX
#D70AD6
RGB
rgb(215, 10, 214)
HSL
hsl(300, 91%, 44%)
CMYK
cmyk(0%, 95%, 0%, 16%)
HSV
hsv(300, 95%, 84%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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