#EDE9FE color
The swatch above shows #EDE9FE with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#EDE9FE is a very light, vivid violet, closest to the CSS named color lavender (#E6E6FA).
It is also a Tailwind CSS default: violet-100. That means you can write bg-violet-100 or text-violet-100 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #EDE9FE |
| RGB | rgb(237, 233, 254) |
| HSL | hsl(251, 91%, 95%) |
| CMYK | cmyk(7%, 8%, 0%, 0%) |
| Decimal | 15591934 |
| CSS | color: #EDE9FE; |
| Android | 0xFFEDE9FE |
| Swift | UIColor(red: 0.929, green: 0.914, blue: 0.996, alpha: 1) |
Accessibility and contrast
| White text on #EDE9FE | 1.19:1 — AA fail · AA large fail · AAA fail |
| Black text on #EDE9FE | 17.69:1 — AA pass · AA large pass · AAA pass |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #EDE9FE
Each swatch keeps the hue and saturation of #EDE9FE and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #EDE9FE
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #EDE9FE in code
/* CSS */
.element { color: #EDE9FE; background-color: #EDE9FE; }
.element { color: rgb(237 233 254); }
.element { color: hsl(251 91% 95%); }
/* Tailwind */
<div class="bg-violet-100 text-black">
/* SCSS variable */
$brand: #EDE9FE;
Frequently asked questions
What color is #EDE9FE?
#EDE9FE is a very light, vivid violet. Its hue sits at 251° on the color wheel, with 91% saturation and 95% lightness.
What is #EDE9FE in RGB?
#EDE9FE converts to rgb(237, 233, 254) — 237 red, 233 green and 254 blue.
What is #EDE9FE in CMYK?
Approximately cmyk(7%, 8%, 0%, 0%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #EDE9FE be white or black?
Black gives the better contrast ratio (17.69:1 versus 1.19:1).
What is the complementary color of #EDE9FE?
#FAFEE7 — the hue directly opposite #EDE9FE on the color wheel.