Hex Color #D95CFE - Custom Color

Color Codes

HEX
#D95CFE
RGB
rgb(217, 92, 254)
HSL
hsl(286, 99%, 68%)
CMYK
cmyk(15%, 64%, 0%, 0%)
HSV
hsv(286, 64%, 100%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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