Hex Color #A785FF - Custom Color

Color Codes

HEX
#A785FF
RGB
rgb(167, 133, 255)
HSL
hsl(257, 100%, 76%)
CMYK
cmyk(35%, 48%, 0%, 0%)
HSV
hsv(257, 48%, 100%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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