Hex Color #CEB7EA - Custom Color

Color Codes

HEX
#CEB7EA
RGB
rgb(206, 183, 234)
HSL
hsl(267, 55%, 82%)
CMYK
cmyk(12%, 22%, 0%, 8%)
HSV
hsv(267, 22%, 92%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 11.59:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use black text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #CEB7EA;
color: #CEB7EA;
border-color: #CEB7EA;
}

Tailwind CSS (with arbitrary values)

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