Hex Color #CA92DF - Custom Color

Color Codes

HEX
#CA92DF
RGB
rgb(202, 146, 223)
HSL
hsl(284, 55%, 72%)
CMYK
cmyk(9%, 35%, 0%, 13%)
HSV
hsv(284, 35%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 8.69:1
Pass - WCAG AA (Normal Text)
Pass - 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: #CA92DF;
color: #CA92DF;
border-color: #CA92DF;
}

Tailwind CSS (with arbitrary values)

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