Hex Color #FAF2FD - Custom Color
Color Codes
HEX
#FAF2FD
RGB
rgb(250, 242, 253)
HSL
hsl(284, 73%, 97%)
CMYK
cmyk(1%, 4%, 0%, 1%)
HSV
hsv(284, 4%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.09:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 19.18: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: #FAF2FD;
color: #FAF2FD;
border-color: #FAF2FD;
}
Tailwind CSS (with arbitrary values)
bg-[#FAF2FD]
text-[#FAF2FD]
border-[#FAF2FD]
// Example usage:
<div className="bg-[#FAF2FD]">