Hex Color #665EFB - Custom Color

Color Codes

HEX
#665EFB
RGB
rgb(102, 94, 251)
HSL
hsl(243, 95%, 68%)
CMYK
cmyk(59%, 63%, 0%, 2%)
HSV
hsv(243, 63%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.56:1
Pass - WCAG AA (Normal Text)
Fail - 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: #665EFB;
color: #665EFB;
border-color: #665EFB;
}

Tailwind CSS (with arbitrary values)

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