Hex Color #D01FFD - Custom Color

Color Codes

HEX
#D01FFD
RGB
rgb(208, 31, 253)
HSL
hsl(288, 98%, 56%)
CMYK
cmyk(18%, 88%, 0%, 1%)
HSV
hsv(288, 88%, 99%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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