Hex Color #C7AFED - Custom Color

Color Codes

HEX
#C7AFED
RGB
rgb(199, 175, 237)
HSL
hsl(263, 63%, 81%)
CMYK
cmyk(16%, 26%, 0%, 7%)
HSV
hsv(263, 26%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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