Hex Color #BEA5F7 - Custom Color

Color Codes

HEX
#BEA5F7
RGB
rgb(190, 165, 247)
HSL
hsl(258, 84%, 81%)
CMYK
cmyk(23%, 33%, 0%, 3%)
HSV
hsv(258, 33%, 97%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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