Hex Color #A25ADA - Custom Color

Color Codes

HEX
#A25ADA
RGB
rgb(162, 90, 218)
HSL
hsl(274, 63%, 60%)
CMYK
cmyk(26%, 59%, 0%, 15%)
HSV
hsv(274, 59%, 85%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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