Hex Color #D460FE - Custom Color

Color Codes

HEX
#D460FE
RGB
rgb(212, 96, 254)
HSL
hsl(284, 99%, 69%)
CMYK
cmyk(17%, 62%, 0%, 0%)
HSV
hsv(284, 62%, 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.90: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: #D460FE;
color: #D460FE;
border-color: #D460FE;
}

Tailwind CSS (with arbitrary values)

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