Hex Color #D858FC - Custom Color

Color Codes

HEX
#D858FC
RGB
rgb(216, 88, 252)
HSL
hsl(287, 96%, 67%)
CMYK
cmyk(14%, 65%, 0%, 1%)
HSV
hsv(287, 65%, 99%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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