Hex Color #CF52EB - Custom Color

Color Codes

HEX
#CF52EB
RGB
rgb(207, 82, 235)
HSL
hsl(289, 79%, 62%)
CMYK
cmyk(12%, 65%, 0%, 8%)
HSV
hsv(289, 65%, 92%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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