Hex Color #CD5EFB - Custom Color

Color Codes

HEX
#CD5EFB
RGB
rgb(205, 94, 251)
HSL
hsl(282, 95%, 68%)
CMYK
cmyk(18%, 63%, 0%, 2%)
HSV
hsv(282, 63%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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