Hex Color #DB94EC - Custom Color

Color Codes

HEX
#DB94EC
RGB
rgb(219, 148, 236)
HSL
hsl(288, 70%, 75%)
CMYK
cmyk(7%, 37%, 0%, 7%)
HSV
hsv(288, 37%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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