Hex Color #A30CDF - Custom Color

Color Codes

HEX
#A30CDF
RGB
rgb(163, 12, 223)
HSL
hsl(283, 90%, 46%)
CMYK
cmyk(27%, 95%, 0%, 13%)
HSV
hsv(283, 95%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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