Hex Color #C8B3DC - Custom Color

Color Codes

HEX
#C8B3DC
RGB
rgb(200, 179, 220)
HSL
hsl(271, 37%, 78%)
CMYK
cmyk(9%, 19%, 0%, 14%)
HSV
hsv(271, 19%, 86%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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