Hex Color #C6AFDF - Custom Color

Color Codes

HEX
#C6AFDF
RGB
rgb(198, 175, 223)
HSL
hsl(269, 43%, 78%)
CMYK
cmyk(11%, 22%, 0%, 13%)
HSV
hsv(269, 22%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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