Hex Color #CA38FA - Custom Color

Color Codes

HEX
#CA38FA
RGB
rgb(202, 56, 250)
HSL
hsl(285, 95%, 60%)
CMYK
cmyk(19%, 78%, 0%, 2%)
HSV
hsv(285, 78%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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