Hex Color #D778FE - Custom Color

Color Codes

HEX
#D778FE
RGB
rgb(215, 120, 254)
HSL
hsl(283, 99%, 73%)
CMYK
cmyk(15%, 53%, 0%, 0%)
HSV
hsv(283, 53%, 100%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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