#E4E2EE

A color in the Violet family

#e4e2ee is a color in the Violet family: RGB(228, 226, 238), HSL(250°, 26%, 91%), CMYK(4%, 5%, 0%, 7%). Closest named color: lavender. Contrast is 1.28:1 on white and 16.41:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e4e2ee
RGBrgb(228 226 238)
RGB (legacy)rgb(228, 226, 238)
RGB %rgb(89% 89% 93%)
HSLhsl(250 26% 91%)
HSV / HSBhsv(250, 5%, 93%)
HWBhwb(250 89% 7%)
CMYKcmyk(4%, 5%, 0%, 7%)
CIELAB (D50)lab(90.31 2.33 -5.61)
LCHlch(90.31 6.08 292.55)
OKLaboklab(0.9179 0.0066 -0.0149)
OKLCHoklch(0.9179 0.0163 293.73)
Decimal15000302

Properties

Color ToneViolet
Closest named colorlavender ΔE 1.7
Closest web-safe color#ccccff
Hue250°
Saturation (HSL / HSV)26% / 5%
Lightness (HSL)91%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)89% / 89%
Relative luminance (WCAG)0.7706
Red / Green / Blue228 / 226 / 238

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.28:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.41:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 13.9 / -90 · As background with white / black text: Lc -16 / 89.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #e4e2ee;
  --color-brand-oklch: oklch(91.79% 0.0163 293.73);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(228 226 238 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e4e2ee] text-[#e4e2ee] border-[#e4e2ee]">