Hex Color #A241FB - Custom Color

Color Codes

HEX
#A241FB
RGB
rgb(162, 65, 251)
HSL
hsl(271, 96%, 62%)
CMYK
cmyk(35%, 74%, 0%, 2%)
HSV
hsv(271, 74%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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