Hex Color #A302BF - Custom Color

Color Codes

HEX
#A302BF
RGB
rgb(163, 2, 191)
HSL
hsl(291, 98%, 38%)
CMYK
cmyk(15%, 99%, 0%, 25%)
HSV
hsv(291, 99%, 75%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.32:1
Fail - 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: #A302BF;
color: #A302BF;
border-color: #A302BF;
}

Tailwind CSS (with arbitrary values)

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