Hex Color #C4BEFA - Custom Color

Color Codes

HEX
#C4BEFA
RGB
rgb(196, 190, 250)
HSL
hsl(246, 86%, 86%)
CMYK
cmyk(22%, 24%, 0%, 2%)
HSV
hsv(246, 24%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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